-- 体系新增模式字段字段 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_MODEL' AND KSQL_COL_NAME IN ('FCURRENTMODE')) 
 ALTER TABLE T_EB_MODEL ADD (FCURRENTMODE NVARCHAR(50) DEFAULT ' '  NOT NULL);