IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_POM_MROSWSENTRY' AND KSQL_COL_NAME ='FENTRYSTATUS') 
 ALTER TABLE T_POM_MROSWSENTRY ADD (FENTRYSTATUS VARCHAR(30) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_POM_MROSWSENTRY' AND KSQL_COL_NAME ='FENTRYCREATOR') 
 ALTER TABLE T_POM_MROSWSENTRY ADD (FENTRYCREATOR BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_POM_MROSWSENTRY' AND KSQL_COL_NAME ='FENTRYMODIFIER') 
 ALTER TABLE T_POM_MROSWSENTRY ADD (FENTRYMODIFIER BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_POM_MROSWSENTRY' AND KSQL_COL_NAME ='FENTRYAUDITOR') 
 ALTER TABLE T_POM_MROSWSENTRY ADD (FENTRYAUDITOR BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_POM_MROSWSENTRY' AND KSQL_COL_NAME ='FENTRYCREATEDATE') 
 ALTER TABLE T_POM_MROSWSENTRY ADD (FENTRYCREATEDATE DATETIME );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_POM_MROSWSENTRY' AND KSQL_COL_NAME ='FENTRYMODIFYDATE') 
 ALTER TABLE T_POM_MROSWSENTRY ADD (FENTRYMODIFYDATE DATETIME );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_POM_MROSWSENTRY' AND KSQL_COL_NAME ='FENTRYAUDITDATE') 
 ALTER TABLE T_POM_MROSWSENTRY ADD (FENTRYAUDITDATE DATETIME );