IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PERM_LOG_DIFF_BUSIROLE' AND KSQL_COL_NAME IN ('FSTARTTIME'))
ALTER TABLE T_PERM_LOG_DIFF_BUSIROLE ADD (FSTARTTIME DATETIME );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PERM_LOG_DIFF_BUSIROLE' AND KSQL_COL_NAME IN ('FENDTIME'))
ALTER TABLE T_PERM_LOG_DIFF_BUSIROLE ADD (FENDTIME DATETIME );