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

primary key is a constraint key that can not contain a null
or duplicate values.
foriegn key is a reference key ,before referencing the
foriegn key parent table field or fields must have primary
key.If u can try to insert a value in referencing field,new
record that must contain parent field.

Is This Answer Correct ?    22 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what are the characteristics of data files?

1030


I have a table called 'test' on source and target with same name, structure and data type but in a different column order. How can you setup replication for this table?

1046


How to convert characters to times in oracle?

954


Explain oracle’s server parameter file.

947


What is ASM (Automatic Storage Management) in Oracle?

1122


what is difference between sql plus and sql*plus? (not sql and sql plus).

3812


What is query image?

922


how do we code triggers , store procedure , Performance tuning and indexing in a Java Project? Pls kindly get me the perfect answer with the code for each....thank you in advance............pls any body kindly help me soon as possible....

2002


What happens internally when the user types userID/password@string in SQL PLUS Thanks-Bhaskar

4479


What is sharded cluster?

924


Explain integrity constraints?

1057


How to update values in a table in oracle?

958


How can windows applications connect to oracle servers?

983


Explain the different normalization forms?

1009


Explain about functional dependency and its relation with table design?

952