what is the difference between primary key & foreign key?

Answer Posted / guest

primary key is used to identify a row and it doesnot allow
null values. It avoids duplication of rows.

whereas foreign key refers to a column or combination of
columns included in the defenition of referential integrity.

Is This Answer Correct ?    155 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to convert .db (extention) database file into .dmp (extention ) for oracle database ?

2063


How to save query output to a local file?

563


What is the difference between Delete, Truncate and Drop in Oracle?

604


How to create an oracle database?

582


What is the implicit cursor in oracle?

568






What is a system tablespace and when it is created?

560


How would you best determine why your MVIEW couldnt FAST REFRESH?

1436


What is integrity and what is constraint??Explain with example

1699


What is save point in oracle database?

725


What happens if the imported table already exists?

549


How can I convert single byte kana characters into multi byte kana characters and vice-versa.

1933


Can we create trigger on materialized view in oracle?

565


Point the difference between translate and replace?

572


What is the maximum number of triggers that can be applied to a single table?

557


Can we create database in oracle using command line ?

584