IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PERM_OPERATIONRULE' AND KSQL_COL_NAME ='FOPERATIONKEY') 
 ALTER TABLE T_PERM_OPERATIONRULE ADD (FOPERATIONKEY VARCHAR(30) DEFAULT ' ' NOT NULL );