-- 日志打印标识
IF NOT EXISTS (SELECT 1 FROM KSQL_USERTABLES WHERE KSQL_TABNAME = 'T_EB_BILLREJECTLOG_DETAIL') 
CREATE TABLE T_EB_BILLREJECTLOG_DETAIL(
	FID BIGINT NOT NULL,
	FENTRYID BIGINT NOT NULL,
	FSEQ INTEGER DEFAULT 0 NOT NULL,
	FMODIFYROWDATAJSON NCLOB,
	FAFTERMODIFYROWDATAJSON NCLOB ,
	FMODIFYROWDATAJSONNEW NCLOB
);

EXEC P_ALTERPK 'PK_EB_BILLREJECTLOG_DETAIL', 'T_EB_BILLREJECTLOG_DETAIL', 'FENTRYID', '1';