Is PK concept available in Teradata. If it is how can we
create Primary Key for a table in TD
Answer Posted / rahul
hi,
primary keys are not mandatory in the teradata,but when
we are specify the pk in column the optimizer creates the
upi in that column. and more over pk composite have no limit
in teradata. the creation of pk is combination of primary
key and not null see the example
create set/multiset table <table name>
(
orderid integer primary key not null,
---
----- etc
);
this creates upi on the orderid column.
if we doesn't mentioned nupi will be created..
thanks
Rahul
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Can you connect multiload from ab initio?
What does sleep function does in fast load?
any one answer me how they can analyzing the project using data ware housing?
What is inner join and outer join?
Give a justifiable reason why Multi-load supports NUSI instead of USI.
What is meant by a Channel Driver?
what are the day to day activities of teradata DBA ?
There is a column with date in it. If I want to get just month how it can be done? Can I use sub string?
When tpump is used instead of multiload?
In a table can we use primary key in one column and in another column both unique and not null constrains.if yes how?
Explain the teradata primary index mechanics in detail with a diagram.
If the PMON is not working then how do you identify and monitor all the processes, resources and sessions ?
What are differences between teradata and ansi session modes in teradata?
Explain and compare pros and cons of start schemas?
What is meant by a Highest Cost Plan?