what is the difference between primary key & foreign key?

Answer Posted / bharathi sundar

A PRIMARY KEY DOES NOT ACCEDES DUPLICATIONS .
A FOREIGN KEY IS USED FOR LINKING TWO DATABASE TABLES
ABSTRUSELY .

A FOREIGN KEY USES THE PRIMARY KEY IN ANOTHER TABLE,
TO RETRIEVE OR TO IDENTIFY THE CELL VALUES IN ANOTHER
TABLE.........

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What would you do with an in-doubt distributed transaction?

1466


query optmization techniques and quwry analyser+projects+ppts

1925


How to drop a stored function?

672


candidate key is subset of super key but not vice-verse explain

1577


Differentiate between function and procedure in oracle.

561






What is the difference difference between $ORACLE_HOME and $ORACLE_BASE.

646


What do you mean by a tablespace?

560


What are the limitations oracle database 10g xe?

568


How to install oracle odbc drivers?

620


Write a syntax for update query in oracle?

614


What is a package ? What are the advantages of package ?

600


How to calculate date and time differences in oracle?

528


How to create a new table in oracle?

589


I have a table called 'test' on source and target with same name, structure and data type but in a different column order. How can you setup replication for this table?

621


What is the oracle implicit cursor?

593