IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HAOS_UOSDIMENSIONHIS' AND KSQL_COL_NAME IN ('FVID')) 
 ALTER TABLE T_HAOS_UOSDIMENSIONHIS ADD (FVID BIGINT DEFAULT 0 NOT NULL );
 
 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HAOS_DOSDIMENSIONHIS' AND KSQL_COL_NAME IN ('FVID')) 
 ALTER TABLE T_HAOS_DOSDIMENSIONHIS ADD (FVID BIGINT DEFAULT 0 NOT NULL );