IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PERM_CTRLTYPE' AND KSQL_COL_NAME IN ('FSYSTREEFILTER'))
ALTER TABLE T_PERM_CTRLTYPE ADD (FSYSTREEFILTER CHAR(1) DEFAULT '1' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PERM_CTRLTYPE' AND KSQL_COL_NAME IN ('FSEQ'))
ALTER TABLE T_PERM_CTRLTYPE ADD (FSEQ INT DEFAULT 0 NOT NULL );
