/**Begin D:\PDM_UPGRADE_1.3\PDM_UPGRADE\pdm1\RIM_table.sql **/
 EXEC p_AlterColumn 'T_RIM_AUTO_DEDUCTION_TASK', 'FAUDIT_RESULT', 'VARCHAR(20)', 'NOT NULL', '0100', ''' ''';

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_RIM_AUTO_DEDUCTION_TASK' AND KSQL_COL_NAME ='FCHECK_STATUS') 
 ALTER TABLE T_RIM_AUTO_DEDUCTION_TASK ADD (FCHECK_STATUS VARCHAR(20) DEFAULT ' ' NOT NULL );

/**End D:\PDM_UPGRADE_1.3\PDM_UPGRADE\pdm1\RIM_table.sql **/
