IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MRP_RSDATACONFIG' AND KSQL_COL_NAME ='FSOURCETYPE') 
ALTER TABLE T_MRP_RSDATACONFIG ADD (FSOURCETYPE VARCHAR(10) DEFAULT 'mrp' NOT NULL );