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
What is called partitioned primary index (ppi)?
What are the various indexes in teradata? Why are they preferred?
Explain the term 'database' related to relational database management system?
Did you write stored procedures in teradata?
How to Extract data from multiple legacy systems?
Highlight the differences between Primary Key and Primary Index.
What is the difference between fastload and multiload? Which one is faster?
What is difference between user and database in teradata?
How does hashing happens in teradata?
What are tpump utility limitations?
If I wanted to run a TPump job only once per day - basically working on a file that is produced once per day - how would you set up the parameters for that sort of job ?
How to run a query in teradata?
What are the primary characteristics of the Teradata.
How can we check the version of Teradata that we are using currently?
Highlight the points of differences between the database and user in Teradata.