/**Begin D:\PDM_UPGRADE\PDM1\CAS_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_CAS_RECWARNRESULT' AND KSQL_COL_NAME IN ('FSTATUS')) 
 ALTER TABLE T_CAS_RECWARNRESULT ADD (FSTATUS CHAR(1) DEFAULT ' ' );
 --- drop column --------- 请认真检查该脚本 ------------------- 
 EXEC p_AlterColumn 'T_CAS_RECWARNRESULT', 'FSATUS', 'NULL', 'NULL', '1001', 'NULL';

 EXEC p_AlterColumn 'T_CAS_RECWARNRESULTENTRY', 'FCREATETIME', 'NVARCHAR(50)', 'NOT NULL', '0100', ''' ''';


/**End D:\PDM_UPGRADE\PDM1\CAS_table.sql **/
