IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_MDC_MFTREQBILLS' AND KSQL_COL_NAME ='FREQTYPE') 
 ALTER TABLE T_IM_MDC_MFTREQBILLS ADD (FREQTYPE NVARCHAR(50) DEFAULT ' ' NOT NULL);


 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_MDC_XMFTREQBILLS' AND KSQL_COL_NAME ='FREQTYPE') 
 ALTER TABLE T_IM_MDC_XMFTREQBILLS ADD (FREQTYPE NVARCHAR(50) DEFAULT ' ' NOT NULL);

 