IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BD_DEFAULTCTRLSTRATEGY' AND KSQL_COL_NAME ='FMASTERIDFIELDNAME') 
 ALTER TABLE T_BD_DEFAULTCTRLSTRATEGY ADD (FMASTERIDFIELDNAME VARCHAR(20) DEFAULT 'fmasterid' NOT NULL );
 
 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BD_DEFAULTCTRLSTRATEGY' AND KSQL_COL_NAME ='FMASTERIDPROPNAME') 
 ALTER TABLE T_BD_DEFAULTCTRLSTRATEGY ADD (FMASTERIDPROPNAME VARCHAR(20) DEFAULT 'masterid' NOT NULL );
 
 