Search Postgresql Archives

Extracting data from deprecated MONEY fields

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I understand from http://www.postgresql.org/docs/8.0/static/datatype-money.html that the “money” data type is deprecated. 

 

So I want to convert the data from my existing “money” columns into new un-deprecated columns, e.g. with type “decimal(10,2)”.  But every SQL command I try tells me I can’t cast or convert “money” data into any other type I have tried, including decimal, numeric, varchar, and text. 

 

Is there any way to do this?

 

~ TIA

~ Ken


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux