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 Primary key and foreign key? Give an example

Answer Posted / brajesh kumar srivastava

Primary key enforce uniqueness of column and deny to allow
null values to this column and enforce referential data
integrity constraint to other table column which is call
foreign key.
Foreign key column may contain null value

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are subqueries in sql server?

1191


What is isolation levels?

1082


What is a database table?

1021


What are sub reports?

208


Tell me what is use of except clause? How it differs from not in clause?

995


What are the difference between primary keys and foreign keys?

1013


Do you know what is a linked server in sql server?

1067


What is the minimum and maximum number of partitions required for a measure group? : sql server analysis services, ssas

1099


What stored by the master? : sql server database administration

1178


What are the steps you should follow to start sql server in single-user mode?

949


What is 1nf 2nf and 3nf?

954


How does normalization work?

971


Explain trigger and trigger types?

1034


How to provide default values to stored procedure parameters?

1100


How many types of subqueries are there in sql server?

1032