what is Constraint? How many types of constraints in SQL ?

Answer Posted / nivetha sri

Constraint are the certain condition which is used to
limit the data in the table.It can used before creating the
table and after creating the table.
TYPES OF CONSTRAINTS
1] Primary key
2]Foreign key
3]Unique key
4]Check
5]Not Null
6]Default

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List the various tools available for performance tuning?

652


What the class forname () does?

715


Working with TLogs

1611


Mention the differences between sql server and mysql.

698


What are pages and extents? : SQL Server Architecture

732


What is rtm version in sql server?

718


How to create a view with data from multiple tables?

791


How can I create a report based on a query? : sql server management studio

775


How to insert stored procedure result into temporary table?

787


How do I start and stop sql server?

727


What is format parameter in ssrs?

130


What are triggers? How many triggers you can have on a table? How to invoke a trigger on demand?

938


How can you find out if the current user is a member of the specified microsoft® windows nt® group or microsoft sql server™ role?

803


What is attribute hierarchy? : sql server analysis services, ssas

738


How to create new tables with "create table" statements in ms sql server?

779