/**Begin C:\PDM_UPGRADE\PDM1\PBD_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PUR_REGSUPPLIER' AND KSQL_COL_NAME IN ('FISQUITREGISTER')) 
 ALTER TABLE T_PUR_REGSUPPLIER ADD (FISQUITREGISTER CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PUR_REGSUPPLIER' AND KSQL_COL_NAME IN ('FSUPPLIERSTATUS')) 
 ALTER TABLE T_PUR_REGSUPPLIER ADD (FSUPPLIERSTATUS BIGINT DEFAULT 0 NOT NULL );

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