
--倒冲日志增加产品编码字段
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_MDC_BFLOGENTRY' AND KSQL_COL_NAME ='FPRODUCTID') 
 ALTER TABLE T_IM_MDC_BFLOGENTRY ADD (FPRODUCTID BIGINT DEFAULT 0 NOT NULL );



