what is the difference between primary key & foreign key?

Answer Posted / himabindu

primary key is unique.it does not allow null&duplicate
values.it is individual.
foreign key always refers primary key.it is
independent

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is oracle sid?

509


How to use group functions in the select clause using oracle?

595


Can select statements be used on views in oracle?

596


How to update values in a table in oracle?

579


Using the relations and the rules set out in the notes under each relation, write table create statements for the relations EMPLOYEE, FIRE and DESPATCH. You should aim to provide each constraint with a formal name, for example table_column_pk.

1367






What is the difference between substr & instr functions?

597


How to view existing locks on the database?

553


How to create an oracle testing table?

594


In oracle there is column command, how will you explain that?

554


Explain the difference between sap and oracle?

577


State the difference between a primary key and foreign key?

518


what happened to the global index when I truncate the data in one of the partition?

1520


What is snapshot is too old? Give and example for better understand.

1100


Can we write dml statement in function in oracle?

638


Explain self joins in oracle?

564