IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_LIC_GRAYFEATSCHEOBJ' AND KSQL_COL_NAME IN ('FAPPID'))
ALTER TABLE T_LIC_GRAYFEATSCHEOBJ ADD (FAPPID VARCHAR(50) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_LIC_GRAYFEATURE' AND KSQL_COL_NAME IN ('FREMINDERSIGN'))
ALTER TABLE T_LIC_GRAYFEATURE ADD (FREMINDERSIGN VARCHAR(30) DEFAULT ' ' NOT NULL );