/**Begin C:\PDM_UPGRADE\PDM1\SRC_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_SCHEMECHG' AND KSQL_COL_NAME IN ('FWINRULEID')) 
 ALTER TABLE T_SRC_SCHEMECHG ADD (FWINRULEID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_SCHEMECHG' AND KSQL_COL_NAME IN ('FNEWWINRULEID')) 
 ALTER TABLE T_SRC_SCHEMECHG ADD (FNEWWINRULEID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_SCHEMECHG' AND KSQL_COL_NAME IN ('FRULEASSESS')) 
 ALTER TABLE T_SRC_SCHEMECHG ADD (FRULEASSESS CHAR(1) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_SCHEMECHG' AND KSQL_COL_NAME IN ('FNEWRULEASSESS')) 
 ALTER TABLE T_SRC_SCHEMECHG ADD (FNEWRULEASSESS CHAR(1) DEFAULT ' ' NOT NULL );

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