

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_CONTROLVERSION' AND KSQL_COL_NAME ='FBUSSMODELID') 
 ALTER TABLE T_EB_CONTROLVERSION ADD (FBUSSMODELID BIGINT DEFAULT 0 NOT NULL );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_DIMMATERULEBILL' AND KSQL_COL_NAME ='FBUSSMODELID') 
 ALTER TABLE T_EB_DIMMATERULEBILL ADD (FBUSSMODELID BIGINT DEFAULT 0 NOT NULL );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_CONTROLRULEMAIN' AND KSQL_COL_NAME ='FBUSSMODELID') 
 ALTER TABLE T_EB_CONTROLRULEMAIN ADD (FBUSSMODELID BIGINT DEFAULT 0 NOT NULL );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_DIMMEMBERMAPPING' AND KSQL_COL_NAME ='FBUSSMODELID') 
 ALTER TABLE T_EB_DIMMEMBERMAPPING ADD (FBUSSMODELID BIGINT DEFAULT 0 NOT NULL );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_CENTRALIZED_ENTITY' AND KSQL_COL_NAME ='FBUSSMODELID') 
 ALTER TABLE T_EB_CENTRALIZED_ENTITY ADD (FBUSSMODELID BIGINT DEFAULT 0 NOT NULL );