IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BD_BOMVERSION' AND KSQL_COL_NAME ='FVERSIONNAME') 
 ALTER TABLE T_BD_BOMVERSION ADD (FVERSIONNAME BIGINT DEFAULT 0 NOT NULL );