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 use of placing primary key and foreign key
constrains on columns.

Answer Posted / jagadeesh b

If you maintain this relation ship you can get more advantages

1)you can not delete primary table directly..

2)duplicate values are not allowed in primary key table.

3)Null values are not inserted into primary key table so
validation is very easy fro m front end.(for ex; .net 2005).




Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain identity in sql server?

1056


How will you know when statistics on a table are obsolete?

1129


why would you call update statistics? : Sql server database administration

1162


What are the advantages of using stored procedures in sql server?

1056


What are the types of user defined functions in sql server?

1100


What are the differences between char and nchar in ms sql server?

1144


What stored by the model?

1141


What are the basic functions for master, msdb, model, tempdb databases?

1097


What is bcp? When does it use?

991


How to maintain a fill factor in existing indexes?

1057


What are the different types of sub-queries?

1090


Is port 1433 secure?

1040


What is the purpose of sql profiler in sql server?

1070


What is the fastest way to permanently delete a 1 million row table named customers?

1337


What are the fixed server level roles? : sql server security

1225