Reg: Changing Column type

Поиск
Список
Период
Сортировка
От sandhya
Тема Reg: Changing Column type
Дата
Msg-id 03e901c5e9db$06ba00d0$cd00000a@amiindiahjwbgh
обсуждение исходный текст
Ответы Re: Reg: Changing Column type
Re: Reg: Changing Column type
Список pgsql-admin
Hi,
 
When i am tring to change the column type from character/Varchar to "int" i am getting error like,
 
ERROR:  column "fname" cannot be cast to type "int4"
 
I can able to change the column type to "int " if the old datatype is double etc.
Even a "int" datatype also i can able to conver to "char"
and why not viceversa....Please tell me where the problem is.
Suggest me what to do to convert a "char" datatype to "int".
 
Thanks&Regards,
Sandhya
 

 
 

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

Предыдущее
От: "Jonah H. Harris"
Дата:
Сообщение: Re: [HACKERS] Major Problem, need help! Can't run our
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: ERROR: could not read block