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