IF NOT EXISTS (SELECT 1 FROM KSQL_USERTABLES WHERE KSQL_TABNAME = 'T_MDS_FPLOGENTRY') 
 CREATE TABLE T_MDS_FPLOGENTRY (
FID BIGINT DEFAULT 0 NOT NULL,
FENTRYID BIGINT DEFAULT 0 NOT NULL,
FSEQ BIGINT DEFAULT 0 NOT NULL,
FVERID BIGINT DEFAULT 0 NOT NULL,
FBKENTRYID BIGINT DEFAULT 0 NOT NULL
);