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
What is use of except clause?
What is the difference between a check constraint and a rule?
How do I edit a procedure in sql server?
What is primary key and example?
How many triggers you can have on a table?
What do you understand by coalesce in sql server?
What does truncate do?
How is sql used in sql server?
How do you know if sql server is running on your local system?
Can I work with several databases simultaneously? : sql server management studio
What does ss stand for sexually?
What is data source object?
How to create a user to access a database in ms sql server using "create user" statements?
How can you ensure that the database and sql server based application perform well?
What is database replication? What are the different types of replication you can set up in sql server?