-- 项目参数新增字段：继承商机项目号
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BD_PROJECTPARAM' AND KSQL_COL_NAME ='FINHERTBUSIPRJNUM') 
ALTER TABLE T_BD_PROJECTPARAM ADD (FINHERTBUSIPRJNUM CHAR(1) DEFAULT '0' NOT NULL);