IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_LIC_ASSIGNLOG' AND KSQL_COL_NAME ='FOPERATETYPE') 
 ALTER TABLE T_LIC_ASSIGNLOG ADD (FOPERATETYPE VARCHAR(30) DEFAULT '1' NOT NULL );
 
UPDATE T_LIC_ASSIGNLOG SET FOPERATETYPE = '1';