/**Begin C:\PDM_UPGRADE\PDM1\SRC_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_PROJECT_S' AND KSQL_COL_NAME IN ('FSUBMITTERID')) 
 ALTER TABLE T_SRC_PROJECT_S ADD (FSUBMITTERID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_PROJECT_S' AND KSQL_COL_NAME IN ('FSUBMITDATE')) 
 ALTER TABLE T_SRC_PROJECT_S ADD (FSUBMITDATE DATETIME );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_PROJECT_S' AND KSQL_COL_NAME IN ('FUNSUBMITTERID')) 
 ALTER TABLE T_SRC_PROJECT_S ADD (FUNSUBMITTERID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_PROJECT_S' AND KSQL_COL_NAME IN ('FUNSUBMITDATE')) 
 ALTER TABLE T_SRC_PROJECT_S ADD (FUNSUBMITDATE DATETIME );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_PROJECT_S' AND KSQL_COL_NAME IN ('FUNAUDITORID')) 
 ALTER TABLE T_SRC_PROJECT_S ADD (FUNAUDITORID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_PROJECT_S' AND KSQL_COL_NAME IN ('FUNAUDITDATE')) 
 ALTER TABLE T_SRC_PROJECT_S ADD (FUNAUDITDATE DATETIME );

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