
--增加默认模拟成本

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_CAD_COSTTYPEENTRY' AND KSQL_COL_NAME ='FDEFAULT')
ALTER TABLE T_CAD_COSTTYPEENTRY ADD (FDEFAULT CHAR(1) DEFAULT '0' NOT NULL );
