/**Begin C:\PDM_UPGRADE\PDM1\SRC_table.sql **/
 --- drop column --------- 请认真检查该脚本 ------------------- 
 EXEC p_AlterColumn 'T_SRC_PURLISTENTRY', 'FENTRYSTATUS2', 'NULL', 'NULL', '1001', 'NULL';

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_PURLISTENTRY_F' AND KSQL_COL_NAME IN ('FENTRYSTATUS2')) 
 ALTER TABLE T_SRC_PURLISTENTRY_F ADD (FENTRYSTATUS2 CHAR(1) DEFAULT 'A' NOT NULL );
 --- drop column --------- 请认真检查该脚本 ------------------- 
 EXEC p_AlterColumn 'T_SRC_PURLISTENTRY_F', 'FBDPROJECTID', 'NULL', 'NULL', '1001', 'NULL';


/**End C:\PDM_UPGRADE\PDM1\SRC_table.sql **/
