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...

Assume,there are three tables in a database, Can i have
both primary key and foreign key for each table in the same
database?

Answer Posted / subbu

Yes we can have that ! Let me expalin with this small
example.

(PK)ProjectID (FK)ClientID -- Project Table
(PK)ClientID (FK)ProjectManagerID -- ClientTable
(PK)Employee (FK)ProjetcID -- Employee Table

Check This In this example I am having 3 tables and each
table have PK and FK.

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is resource governor?

927


What is reportserver and reportservertempdb ?

143


Which autogrowth database setting is good?

1006


Write down the syntax and an example for create, rename and delete index?

925


List some case manipulation functions in sql?

968


Which tools are available to manage SQL Azure databases and servers?

113


as a part of your job, what are the dbcc commands that you commonly use for database maintenance? : Sql server database administration

860


What do we need queues in sql service broker?

1005


What is the difference between inner join and equi join?

926


Tell me about pre-defined functions of sql?

1072


Can you edit the .rdl code associated with a linked report?

149


explain what is raid and what are different types of raid configurations? : Sql server database administration

951


How can you ensure that the database and sql server based application perform well?

1015


Explain various On-Delete options in a DB table. Which is the default option?

1406


What is after dml trigger?

956