--添加字段名字段
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FMM_BOMSYNCFIELDENTRY' AND KSQL_COL_NAME ='FFIELDNAME')
ALTER TABLE T_FMM_BOMSYNCFIELDENTRY ADD (FFIELDNAME NVARCHAR(80)   DEFAULT  ' '  NOT NULL);