Example: CREATE Request that Produces a NoPI Table - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
ft:locale
en-US
ft:lastEdition
2024-12-11
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

This example creates a NoPI table named sales_temp1 regardless of the setting for PrimaryIndexDefault because you have specified NO PRIMARY INDEX explicitly. (The table sales_temp1 is on the Block File System.)

     CREATE MULTISET TABLE sales_temp1, FALLBACK, NO BEFORE JOURNAL,
     NO AFTER JOURNAL, CHECKSUM = DEFAULT (
       item_nbr INTEGER NOT NULL,
       sale_date DATE FORMAT 'MM/DD/YYYY' NOT NULL,
       item_count INTEGER)
     NO PRIMARY INDEX;