IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PERM_ADMINSCHEMEDETAIL' AND KSQL_COL_NAME IN ('FPERMITEMID')) 
 ALTER TABLE T_PERM_ADMINSCHEMEDETAIL ADD (FPERMITEMID VARCHAR(36) DEFAULT ' ' NOT NULL );