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

Primary is unique one. Each table has only one primary key.
But not allow null values.

Foreign key is opposite of primary. It is reference of
primary key from another table. It allow Null value. Each
table can have more than one foreign key.

Foreign key is used to link one to another table.

Is This Answer Correct ?    22 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to delete a column in an existing table?

1130


How to best split csv strings in oracle 9i?

1097


What is a read write transaction in oracle?

1131


How to use values from other tables in update statements using oracle?

1124


Does facebook use oracle?

1081


Point the difference between translate and replace?

1150


What is meant by joins? List out the types of joins.

1103


Explain overloading. Can functions be overloaded?

1046


How to start instance with a minimal initialization parameter file?

1084


Explain oracle data types with examples?

1079


How to loop through a cursor variable?

1126


How to add a new column to an existing table in oracle?

1186


What is the difference difference between $ORACLE_HOME and $ORACLE_BASE.

1159


How to estimate disk space needed for an export job?

1105


How to create a table in a specific tablespace?

1022