/**Begin C:\PDM_UPGRADE\PDM1\SRC_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_ASSESSCONFIG' AND KSQL_COL_NAME IN ('FDATEFROM')) 
 ALTER TABLE T_SRC_ASSESSCONFIG ADD (FDATEFROM DATETIME );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_ASSESSCONFIG' AND KSQL_COL_NAME IN ('FDATETO')) 
 ALTER TABLE T_SRC_ASSESSCONFIG ADD (FDATETO DATETIME );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_APTITUDECONFIG' AND KSQL_COL_NAME IN ('FDATEFROM')) 
 ALTER TABLE T_SRC_APTITUDECONFIG ADD (FDATEFROM DATETIME );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_APTITUDECONFIG' AND KSQL_COL_NAME IN ('FDATETO')) 
 ALTER TABLE T_SRC_APTITUDECONFIG ADD (FDATETO DATETIME );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_APTITUDECONFIG2' AND KSQL_COL_NAME IN ('FDATEFROM')) 
 ALTER TABLE T_SRC_APTITUDECONFIG2 ADD (FDATEFROM DATETIME );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_APTITUDECONFIG2' AND KSQL_COL_NAME IN ('FDATETO')) 
 ALTER TABLE T_SRC_APTITUDECONFIG2 ADD (FDATETO DATETIME );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_EVALUATECONFIG' AND KSQL_COL_NAME IN ('FDATEFROM')) 
 ALTER TABLE T_SRC_EVALUATECONFIG ADD (FDATEFROM DATETIME );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_EVALUATECONFIG' AND KSQL_COL_NAME IN ('FDATETO')) 
 ALTER TABLE T_SRC_EVALUATECONFIG ADD (FDATETO DATETIME );

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