Re: Change of data type
От | Shoaib Mir |
---|---|
Тема | Re: Change of data type |
Дата | |
Msg-id | bf54be870608101249u74998c89k7cf3398ccf31e162@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Change of data type ("Kumar Dev" <kumardb2@gmail.com>) |
Список | pgsql-sql |
You can do the following:
ALTER TABLE table-name ALTER colum-name TYPE text;
Thanks,
--
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)
ALTER TABLE table-name ALTER colum-name TYPE text;
Thanks,
--
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)
On 8/8/06, Kumar Dev <kumardb2@gmail.com> wrote:
Use Alter table notebook from control centerright click on the table and open alter table notebookyou can drop a column or add a column or change the datatypeKumar
On 8/7/06, Judith <jaltamirano@correolux.com.mx > wrote:Hello everybody, excuse me how can I change de data type of a field,
I currently have:
material character(30)
but I now want the field in text type like this:
material text
somebody knows if ALTER TABLE has some option to do this?, or How
can I do that?
---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly
--
Kumar
DB2 DBA & SAP Basis professional
В списке pgsql-sql по дате отправления: