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 / aarti

Primary Key : It is a unique key of the table.Unique for
each record in the table(e.g ID).

Foreign Key : When a primary key is used as a reference key
in another table then it is called as a foreign key.It is
used to link two tables.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does one get the view definition of fixed views/tables?

1070


What is the usage of merge statement?

1202


How to drop a tablespace?

1084


State some uses of redo log files?

1064


State the difference between a primary key and foreign key?

995


what are bitmap indexes? How does they work?

2302


types of indexes and the rationale behind choosing a particular index for a situation.

2559


In what script is snap$ created? In what script is the scott/tiger schema created?

2759


Explain oracle data types with examples?

1079


What is a sub query and what are the different types of subqueries?

1172


How can I introduce multiple conditions in like operator?

1049


WHEN CURSOR MOVES FROM ONE FORM TO ANOTHER FORM, HOW MANY TRIGGER WILL BE FIRED AND WHAT ARE THEIR SEQUENCE?

2358


What is an Oracle Instance?

1162


How a database is related to tablespaces?

1081


What is open database communication (odbc) in oracle?

1048