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

Primary key is a keyword.
It should not have null value and duplicate value.
We can have only one primary key in a table and the value
should be unique.

Foreign key is a keyword.
It can have null value and duplicate value.
We can have more than one foreign key for a table and this
froeign key table references the primary key table.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why oracle is used?

998


How to create a stored function in oracle?

1040


Is oracle an open source?

1021


How remove data files before opening a database?

998


How to define a variable to match a table column data type?

938


Can we store images in oracle database?

948


what is IDE,DMV in sql server?

2754


What are the various types of snapshots ?

972


Which are the five query types available in oracle?

897


What is a static data dictionary in oracle?

1025


What are a cluster and non-cluster index?

958


What is oracle server autotrace in oracle?

1091


How i can handle exception in large code like 1000 line without distrubing the code or without exception handler sction?

3155


what is reindexing?

1611


What is a nvl function?

958