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
Briefly explain each of the following terms related to relational database management system (rdbms) – database, tables, columns, row, primary key and foreign key.
Define views in teradata with general syntax.
List out teradata data types?
How can we check the version of Teradata that we are using currently?
Mention a few of the ETL tools that come under Teradata.
What is the opening step in basic teradata query script?
Write a program to show the parser component used in teradata?
Can we collect statistics on multiple columns?
how do you manage the production space. what are the proactive methods you can take ?
If Fast Load Script fails and only the error tables are made available to you, then how will you restart?
Why is the case expression used in teradata?
What is smp and mpp platforms?
how do we write scripts in unix how to execute scripts in real time anybody please needfull or give me number i will cal u
What is the syntax for case when statement?
What is upsert statement in teradata?