IS IT POSSIBLE THAT THERE R TWO PRIMARY KEY WILL BE IN A
SAME TABLE?PLZ HELP ME BY GIVING THE ANSWER.THANK U.

Answer Posted / ram

Primary key
============
1. A table should have only one primary key
2. More than one column can consist of a primary key – upto
64 columns
3. Can not be NULL values (missing values)
4. Should be unique values (no duplicate value)

Foreign key
============
1. A table may have zero or more than that upto 32 keys
2. More than one column can consist a primary key – upto 64
columns
3. Can have NULL values
4. Can have duplicate values
5. There should be a corresponding primary key in the
parent table to enforce referential integrity for a foreign
key

Is This Answer Correct ?    16 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the term 'foreign key' related to relational database management system?

559


Write a program to show the parser component used in teradata?

554


How do you set the session mode parameters in bteq?

613


Explain the parallel data extension in teradata?

660


How to eliminate product joins in a teradata sql query?

605






How to find duplicates in a table?

616


what is sysdba and sysdbc ? which has high priority ?

3374


What are the scenarios in which full table scans occurs?

541


Backup Script was blocked then you are unable to archive the data. how do you analyze it and where do you identify ?

1506


What happens when a node suffers a downfall?

671


What are the uses of bynets in multi-node systems?

590


Backup Script was blocked you are unable to archive the data now. how do you analyze it and where do you identify ?

1607


how can we analyze the locks ?

1702


if collect stats but it show low confidence why?

1193


If RDBMS is halted what will you do ?

1710