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

How to save query output to a local file?

1083


What are the uses of a database trigger?

1036


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

1123


Explain the use of record option in exp command.

1065


Give syntax for SQL and ORACLE joins.

1144


What are the limitations oracle database 10g xe?

1091


Explain the features of oracle?

1107


What to do if the startbd.bat failed to start the xe instance?

1124


How do you store pictures in a database?

1057


What is the difference between a primary key & a unique key?

1139


How a database is related to tablespaces?

1081


Explain temporal data types in oracle

1133


interview questions with answer for cts

2635


what is the use of triggers in Java program? I mean where do we use triggers in Java programming?

2233


What suggestions do you have to reduce the network traffic?

1020