/**Begin D:\PDM_UPGRADE\PDM1\LOG_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BDLOG_DATAENTRY' AND KSQL_COL_NAME ='FSEQ') 
 ALTER TABLE T_BDLOG_DATAENTRY ADD (FSEQ INT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BDLOG_ORGENTRY' AND KSQL_COL_NAME ='FSEQ') 
 ALTER TABLE T_BDLOG_ORGENTRY ADD (FSEQ INT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BDLOG_FAILCAUSEDETAIL' AND KSQL_COL_NAME ='FSEQ') 
 ALTER TABLE T_BDLOG_FAILCAUSEDETAIL ADD (FSEQ INT DEFAULT 0 NOT NULL );

/**End D:\PDM_UPGRADE\PDM1\LOG_table.sql **/
