/**Begin C:\PDM_UPGRADE\PDM1\SRC_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_INVITESUPPLIER' AND KSQL_COL_NAME IN ('FISDOWNLOAD')) 
 ALTER TABLE T_SRC_INVITESUPPLIER ADD (FISDOWNLOAD CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_INVITESUPPLIER' AND KSQL_COL_NAME IN ('FISUPLOAD')) 
 ALTER TABLE T_SRC_INVITESUPPLIER ADD (FISUPLOAD CHAR(1) DEFAULT '0' NOT NULL );
 EXEC p_AlterColumn 'T_SRC_PROJECT_V', 'FSUPPLIERTYPE', 'CHAR(1)', 'NOT NULL', '0001', '''3''';

IF NOT EXISTS (SELECT 1 FROM KSQL_USERTABLES WHERE KSQL_TABNAME = 'T_SRC_SUGGESTION_FJ') 
 CREATE TABLE T_SRC_SUGGESTION_FJ (
FPKID BIGINT DEFAULT 0 NOT NULL,
FID BIGINT DEFAULT 0 NOT NULL,
FBASEDATAID BIGINT DEFAULT 0 NOT NULL
);



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