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
In general, how do you optimze any sql in teradata?
What is collect statistics?
i learn teradata,it is so intersting,now i want teradata certifications ,so any 1 help me to get teradata certifications TD 12 ? email:kdcrazyy@gmail.com
Explain the term 'database' related to relational database management system?
Is multi insert ansi standard?
Hi Friends, Please send me Teradata Materials for certifications Thanks in advance !!
How can we check the version of Teradata that we are using currently?
Can we collect statistics on multiple columns?
What is the command in bteq to check for session settings ?
What is dimensional modeling?
Briefly explain each of the following terms related to relational database management system (rdbms) – database, tables, columns, row, primary key and foreign key.
Explain the term 'columns' related to relational database management system?
What are the various indexes in teradata?
What are the primary characteristics of the Teradata.
How do you verify a complicated sql?