Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the difference between primary key & foreign key?

Answer Posted / ansul singh

Primary key is unique key but Foreign key always refers to
primary key.
Primary key is the parent & Foreign key is the child.
Primary key is unique, Primary key is not null and
Foreign key is null, Foreign key reference as primary key
is another table.
Primary key will not allow "Null values" & "Duplication
values",
Foreign key will allow "Null values & "Duplicate values" &
it refers to a primary key is another table.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the importance of .pll extension in oracle?

1057


How to increment dates by 1 in oracle?

1136


How to select an oracle system id (sid)?

1120


Difference between the “verify” and “feedback” command?

1426


What do you mean by a tablespace?

1089


How to sort output in descending order in oracle?

1101


What are the original export and import utilities?

1257


How to convert character types to numeric types?

1192


How do you tell what your machine name is and what is its IP address?

2156


How to revoke create session privilege from a user in oracle?

1068


What are a collation and state the different types of collation sensitivity?

1234


What is the exact use of Collections?

2190


List the parts of a database trigger.

1108


Why packages are used in oracle?

1118


How do I limit the number of rows returned by an oracle query after ordering?

1222