IF NOT EXISTS ( SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MSPLAN_ENTITY' AND KSQL_COL_NAME = 'FMVIEWALIAS' )
 ALTER TABLE T_MSPLAN_ENTITY ADD ( FMVIEWALIAS NVARCHAR(255) DEFAULT ' ' NOT NULL );