
--方案允许传输字段
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 't_eb_modelupload_dimmap' AND KSQL_COL_NAME ='fistransfermember') 
 ALTER TABLE t_eb_modelupload_dimmap ADD (fistransfermember CHAR(1) DEFAULT '0' NOT NULL );
--日志字段
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 't_eb_modelupload_log' AND KSQL_COL_NAME ='ftransferinfo') 
 ALTER TABLE t_eb_modelupload_log ADD (ftransferinfo NCLOB );
-- 传输维度表
IF NOT EXISTS (SELECT 1 FROM KSQL_USERTABLES WHERE KSQL_TABNAME = 't_eb_recdims') 
 CREATE TABLE t_eb_recdims (
FID BIGINT DEFAULT 0 NOT NULL,
fentryid BIGINT DEFAULT 0 NOT NULL,
fseq INT DEFAULT 0 NOT NULL,
frecdimld BIGINT DEFAULT 0 NOT NULL
);
 
