can foreign key take role of primary key?

Answer Posted / @panwar

yes but for same table and if you use foriegn key as a
primary key for same table then there will be no benifit of
master-detail concept for it relation.
and if you follow the Master_detail concept then you can't
use as primary key for another table.

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Suppose you want to implement the one-to-one relationships while designing tables. How would you do it?

547


How to find table changes in sql server?

663


can you implement data mining in SSRS?

113


What is use of dbcc commands?

629


What are xml indexes?

532






How to create “dependant” parameter “make, model, year”

89


How can you find out which stored procedures are recompiling?

516


Explain the properties of the relational tables?

555


1.how to find the dead lock in sql server? 2.How to fine the memory leaks in sql server? 3.suppose transaction log file increasing what action will take ?

1554


What is logshipping and its purpose?

563


What are the differences in Clustering in SQL Server 2005 and 2008 or 2008 R2?

593


Can two tables have the same primary key?

567


Does partitioning improve performance?

490


What is efficiency data?

527


What is normalization? Describe its different types.

584