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
Which is more efficient group by or distinct to find duplicates?
How do you determine the number of sessions?
What is real time and near real time data warehousing?
Did you write stored procedures in teradata?
what are the day to day activities of teradata DBA ?
What are the advantages of teradata?
What do you mean by tpt in teradata?
A certain load is being imposed on the table and that too, every hour. The traffic in the morning is relatively low, and that of the night is very high. As per this situation, which is the most advisable utility and how is that utility supposed to be loaded?
Explain and compare pros and cons of start schemas?
Why is the case expression used in teradata?
Give a justifiable reason why Multi-load supports NUSI instead of USI.
If the PMON is not working then how do you manage and monitor all processes, resources and sessions etc.
Highlight the limitations of TPUMP Utility.
Comment whether bottleneck is an error or not.
Can we collect statistics on multiple columns?