alter table modify column ...

Поиск
Список
Период
Сортировка
От Evelio Martínez
Тема alter table modify column ...
Дата
Msg-id 006d01c1678d$550dc520$4ecd72c3@testanet.com
обсуждение исходный текст
Список pgsql-general
 
Hi!
 
I would like to know if there is anything similar to Informix-sql sintax to modify a column type.
 
I want to change a column from varchar(40) to varchar(40)[].
 
Do I have to make a stored procedure?
Is there any way to cast a varchar to a _varchar.
 
Something similar to:
 
create table kk4 as  select numero, idproy, foto, '\'{"' || nombre::_varchar  || '"}\'' as nombre, descrip from proy_foto;
ERROR:  Cannot cast type 'varchar' to '_varchar'
 
Any idea will be appreciated.
 
Thanks in advance
------------
Evelio Martínez

В списке pgsql-general по дате отправления:

Предыдущее
От: Gordan Bobic
Дата:
Сообщение: Performance Question Followup No.2
Следующее
От: "Andy Hallam"
Дата:
Сообщение: Re: LIKE predicate and '\' character