What is the use of placing primary key and foreign key
constrains on columns.

Answer Posted / deepak

1) PRIMARY KEY IS USED AS UNIQUE KEY, FOR AVOID DUPLICATION.
2) FOR VALIDATING DATA FROM PRIMARY KEY TABLE FOREIGN KEY USE.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between count (*) and count column?

533


What are the system database in sql server 2008?

590


You have developed an application which uses many stored procedures and triggers to update various tables users ocassionally get locking problems which tool is best suited to help you diagnose the problem?

579


How do you implement session management in SQL Server mode?

569


What is the full form of ddl?

518






Why the trigger fires multiple times in single login?

736


Explain the types of indexes.

651


What is subquery? Explain the properties of a subquery?

515


What is partition, how will you implement it? : sql server analysis services, ssas

613


What is the difference between left and right outer join?

559


What are a scheduled jobs or what is a scheduled tasks?

504


what are constraints? Explain different types of constraints? : Sql server database administration

510


How exceptions can be handled in sql server programming?

557


Explain few examples of RDBMS?

619


Can you get second highest salary from the table?

561