Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sample SQL to alter tables (PostgreSQL syntax shown):

Code Block
languagesql
titleManually change data types
alter table SA_ADDRESS_CACHE alter column GEOQUALITY type decimal(10,0) using GEOQUALITY::decimal(10,0) ;
alter table GX_ADDRESS_CACHE alter column GEOQUALITY type decimal(10,0) using GEOQUALITY::decimal(10,0) ;
alter table GD_ADDRESS_CACHE alter column GEOQUALITY type decimal(10,0) using GEOQUALITY::decimal(10,0) ;
/* Of course this will fail if your data contains non-numeric values. That shouldn't surprise anyone. */

...