IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PRIVACY_UPGRADE_HISTORY' AND KSQL_COL_NAME ='FLOCALEID')
 ALTER TABLE T_PRIVACY_UPGRADE_HISTORY ADD (FLOCALEID VARCHAR(50) DEFAULT ' ' NOT NULL );