For information on defining a load isolated table, see the WITH ISOLATED LOADING option for CREATE TABLE and ALTER TABLE inTeradata Vantageā¢ - SQL Data Definition Language Syntax and Examples, B035-1144.
Following are the table definitions for the example:
CREATE TABLE ldi_table1, WITH CONCURRENT ISOLATED LOADING FOR ALL (a INTEGER, b INTEGER, c INTEGER) PRIMARY INDEX ( a ); CREATE TABLE t1 (c1 INTEGER, c2 INTEGER, c3 INTEGER) PRIMARY INDEX ( c1 );
This statement performs a merge into the load isolated table ldi_table1 from table t1 as an implicit concurrent load isolated operation:
MERGE WITH ISOLATED LOADING INTO ldi_table1 USING t1 ON a=c1 WHEN NOT MATCHED THEN INSERT VALUES (c1, c2, c3);