Here are the DDLs:
CREATE SET VOLATILE TABLE TMP_TEST_NEW ,NO FALLBACK ,
CHECKSUM = DEFAULT,
DEFAULT MERGEBLOCKRATIO,
NO LOG
(
OR_DT DATE FORMAT 'YY/MM/DD',
WT_DT DATE FORMAT 'YY/MM/DD',
COL_1 BIGINT,
OR_ITE_ID BIGINT,
KN_ID BIGINT)
PRIMARY INDEX ( COL_1 ,KN_ID)
ON COMMIT PRESERVE ROWS;
CREATE SET TABLE TABLE2 ,NO FALLBACK ,
NO BEFORE JOURNAL,
NO AFTER JOURNAL,
CHECKSUM = DEFAULT,
DEFAULT MERGEBLOCKRATIO
(
COL_2 INTEGER NOT NULL,
NATL_NBR INTEGER NOT NULL,
SLL_FMT INTEGER NOT NULL,
VP_OVRHD_NBR INTEGER NOT NULL,
RGN_OVRHD_NBR INTEGER NOT NULL,
DM_OVRHD_NBR INTEGER NOT NULL,
KN_ID INTEGER NOT NULL,
ORG_FAC_NBR SMALLINT NOT NULL,
FORMAT_TYPE CHAR(3) CHARACTER SET LATIN NOT CASESPECIFIC NOT NULL)
PRIMARY INDEX ( KN_ID )
INDEX ( ORG_FAC_NBR );
↧