Inclined to build a profession as Teradata Developer? Then here is the blog post on, explore Teradata Training
Based on ’the condition’ we create partitions
Based on Range it creates partitions
Note:
no case:- Condition Unmatched data. Move into the no case partition
PI Created only at table create
Create table<table name>(<columns>) Unique primary index(column names);
Create table<Table name>(< columns >) primary index(column names);
Create table<table name>(<columns>)primary index(columns) partition by column name;
Create set table test1
(
Party Id integer;
Party name varchar(30))
Unique primary index(party id);
Create a set table test
(
Party id integer,
Party name varchar(30))
Primary index(Party id);
Create set table test1
(
Party id integer,
Party name varchar(30),
Party code integer)
Primary index(Party id) partition by case- N
Party code=10, party code=20, no case, unknown);
Note:
Works only with NUPI values
Based on the range of data as part of partitions
We go for it
Create set table test1
(
Party id integer
Party name varchar(30),
Party code integer,
Jdate date) Unique primary index
(Party ID, J date)partition by range – N(J date between
‘2010-01-01’And’2010-10-01’ Each interval’1’ month)
Note:
Note:
We can take as stage tables to load data from the fast load(or) TPUMP Array insert
Create multiset table let(party id integer, party name, varchar(30))
No Primary index:
You liked the article?
Like : 0
Vote for difficulty
Current difficulty (Avg): Medium
1/6
TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.
Stay Updated
Get stories of change makers and innovators from the startup ecosystem in your inbox