/**Begin D:\PDM_UPGRADE\PDM1\POM_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 't_pom_mftorderentry' AND KSQL_COL_NAME ='fmaterielmasterid') 
 ALTER TABLE t_pom_mftorderentry ADD (fmaterielmasterid BIGINT DEFAULT 0 NOT NULL );

 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 't_pom_xmftorderentry' AND KSQL_COL_NAME ='fmaterielmasterid') 
 ALTER TABLE t_pom_xmftorderentry ADD (fmaterielmasterid BIGINT DEFAULT 0 NOT NULL );
 
/**End D:\PDM_UPGRADE\PDM1\POM_table.sql **/
