
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 't_pom_mgtarentry' AND KSQL_COL_NAME ='fmergeordeno') 
ALTER TABLE t_pom_mgtarentry ADD (fmergeordeno NVARCHAR(50) DEFAULT ' ' NOT NULL );
