-- 可变更项增加字段
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FA_CHANGE_ITEM' AND KSQL_COL_NAME ='FNAME')
ALTER TABLE T_FA_CHANGE_ITEM ADD (FNAME NVARCHAR(50) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FA_CHANGE_ITEM' AND KSQL_COL_NAME ='FISCHANGE')
ALTER TABLE T_FA_CHANGE_ITEM ADD (FISCHANGE CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FA_CHANGE_ITEM' AND KSQL_COL_NAME ='FBACKFIELD')
ALTER TABLE T_FA_CHANGE_ITEM ADD (FBACKFIELD NVARCHAR(30) DEFAULT ' ' NOT NULL );