
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_er_planebill' AND KSQL_COL_NAME ='fisattachment')
ALTER TABLE T_er_planebill ADD (fisattachment CHAR(1) DEFAULT '0' NOT NULL);
