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

What the is the diff between local index and global index. give some example.

1680


Define the SGA and: How you would configure SGA for a mid-sized OLTP environment? What is involved in tuning the SGA?

2309


How do I spool in oracle?

1060


Explain about functional dependency and its relation with table design?

1059


What are the general rules on data consistency?

1056


How to set up autotrace for a user account?

1110


How many types of cluster table in Oracle?

1079


How to sort the query output in oracle?

1072


What is an oracle tablespace?

1092


What is merge in oracle?

1095


How to grant create session privilege to a user in oracle?

1050


How to define a record variable to store a table row?

1109


Hi Can any one tell me what are the API's used in requisition import.

1964


How to rename an index?

1122


What is system tablespace?

1147