Re: change varchar(10) to varchar()

Поиск
Список
Период
Сортировка
Искать
От
Jaime Casanova
Тема
Re: change varchar(10) to varchar()
Дата
Msg-id
c2d9e70e050804110779252d0@mail.gmail.com
Ответ на
Список
Дерево обсуждения
using interval in a query with a column for the interval value? "Walker, Jed S" <Jed_Walker@cable.comcast.com>
change varchar(10) to varchar() <operationsengineer1@yahoo.com>
Re: change varchar(10) to varchar() Jaime Casanova <systemguards@gmail.com>
Re: change varchar(10) to varchar() <operationsengineer1@yahoo.com>
Re: change varchar(10) to varchar() Gnanavel S <s.gnanavel@gmail.com>
Re: using interval in a query with a column for the interval value? Bruno Wolff III <bruno@wolff.to>
On 8/4/05, operationsengineer1@yahoo.com  wrote:
> is there a sql command to change a field data type
> from varchar(10) to varchar()?
> 
> i tried to do this in pgadmin3, but when i deleted the
> length (maximum characters) attribute, the OK button
> stayed grayed out and inactive.  as an aside, the OK
> button becomes active when the length attribute is
> changed...  but turns gray when it is deleted
> altogether.
> 
> i don't want to put any arbitrary constraints on my
> s/n field - especially since there is no performance
> benefit in doing so per the manual.
> 
> tia...
> 
> ps - i can delete and recreate the table with no
> problems - but i would prefer to learn something for
> future reference, if possible.
> 

use text datatype, instead


-- 
regards,
Jaime Casanova
(DBA: DataBase Aniquilator ;)
В списке pgsql-novice по дате отправления
От: Adam O'Toole
Дата:
Сообщение: connection string - DNS
От: Walker, Jed S
Дата:
FAQ