IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 't_msplan_invdetailentry' AND KSQL_COL_NAME ='fworkcenter')
 ALTER TABLE t_msplan_invdetailentry ADD (fworkcenter BIGINT DEFAULT 0 NOT NULL );