/**Begin D:\PDM_UPGRADE\PDM1\HDMSSC_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HDM_SSCTASK' AND KSQL_COL_NAME ='FVOUCHERNO')
 ALTER TABLE T_HDM_SSCTASK ADD (FVOUCHERNO VARCHAR(500) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HDM_SSCTASK' AND KSQL_COL_NAME ='FVOUCHERSTAT')
 ALTER TABLE T_HDM_SSCTASK ADD (FVOUCHERSTAT VARCHAR(100) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HDM_SSCTASKHIS' AND KSQL_COL_NAME ='FVOUCHERNO')
 ALTER TABLE T_HDM_SSCTASKHIS ADD (FVOUCHERNO VARCHAR(500) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HDM_SSCTASKHIS' AND KSQL_COL_NAME ='FVOUCHERSTAT')
 ALTER TABLE T_HDM_SSCTASKHIS ADD (FVOUCHERSTAT VARCHAR(100) DEFAULT ' ' NOT NULL );

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