IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BCM_DATACOLLECTLOG' AND KSQL_COL_NAME IN ('FDATAFROM'))
 ALTER TABLE T_BCM_DATACOLLECTLOG ADD (FDATAFROM NVARCHAR(2000) DEFAULT ' ' NOT NULL);