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

primary key does not allow duplicate and null values
primary is unquie.

foreign key allows null values it refers primary key.

foreign key allows duplicate values.

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 fetch the row which has the max value for a column?

1002


How to enter a new row into a table interactively?

1014


How to convert dates to characters in oracle?

1042


How do you find out from the RMAN catalog if a particular archive log has been backed-up?

2125


Is it possible to set second Primary Key Constraint in a table in Oracle Database ?

1151


How to define and use table alias names in oracle?

944


What is a cursor in oracle?

1177


What are the different editions of oracle?

1110


How to resolve name conflicts between variables and columns?

1032


What are privileges and grants?

1067


What is the best way to do multi-row insert in oracle?

1067


Is insert autocommit in oracle?

1070


What is Redo Log Buffer in Oracle?

1210


How can I get column names from a table in oracle?

1050


How remove data files before opening a database?

1077