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

i cleared this question simple.

TAKE A LOOK

primary key:-It doesn't allow NULL values and duplicate values
it is a unique one.


Foreign key:- It allows NULL and duplicate values
It always give reference to primary key of 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

How to initialize variables with default values?

1155


Write a trigger example in oracle?

977


hey friends, What are the steps I can do to transfer the database from Microsoft Access 2003 to oracle10g (or SQL) Best regards

1954


How to assign values to data fields in record variables?

972


How to name query output columns in oracle?

1129


Is java required for oracle client?

921


Explain about your project and its relation to the current job position you are applying to?

942


Explain index?

1195


How do I use unicode codesets with the weblogic jdriver for oracle driver?

1009


How to increment dates by 1 in oracle?

989


How to execute a stored program unit?

1001


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

936


What is a system tablespace?

1000


How to run create database statement again?

1073


How to rename an index?

992