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 are the grouping functions?

919


How you provide security to cube? : sql server analysis services, ssas

950


what changed between the previous version of sql server and the current version? : Sql server database administration

986


You want to generate a report that is formatted as a chart. Can you use the report wizard to create such a report?

121


What is a view and what are its advantages?

1094


What is dirty read?

1066


how many layers of tcp/ip protocol combined of? : Sql server database administration

980


How is table type constraint applied to a table?

961


how you can configure a running aggregate in SSRS?

188


what is the difference between them (ethernet networks and token ring networks)? : Sql server database administration

1025


What are the limitations in ssrs on sql server express edition?

186


What is the difference between indexing and hashing?

1142


How to generate create procedure script on an existing stored procedure?

994


How column data types are determined in a view?

942


What are the advantages of mirroring?

967