/**Begin C:\PDM_UPGRADE\PDM1\SRC_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_INVITESUPPLIER_TEMP' AND KSQL_COL_NAME IN ('FISMANUALSELECT')) 
 ALTER TABLE T_SRC_INVITESUPPLIER_TEMP ADD (FISMANUALSELECT CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_INVITESUPPLIER_TEMP' AND KSQL_COL_NAME IN ('FCURRENTRANK')) 
 ALTER TABLE T_SRC_INVITESUPPLIER_TEMP ADD (FCURRENTRANK INT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_INVITESUPPLIER_TEMP' AND KSQL_COL_NAME IN ('FISVALID')) 
 ALTER TABLE T_SRC_INVITESUPPLIER_TEMP ADD (FISVALID CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_APTITUDECONFIG2' AND KSQL_COL_NAME IN ('FSUMSCORE')) 
 ALTER TABLE T_SRC_APTITUDECONFIG2 ADD (FSUMSCORE DECIMAL(19,2) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_APTITUDECONFIG2' AND KSQL_COL_NAME IN ('FISCHANGED')) 
 ALTER TABLE T_SRC_APTITUDECONFIG2 ADD (FISCHANGED CHAR(1) DEFAULT '0' NOT NULL );

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