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

Answer Posted / shelly

Constraints are used to limit the type of data that goes
into a table.Constraints can be declared at the time of
creating a table or by altering the already created table.

1)Not Null
2)Unique
3)Primary Key
4)Check
5)References
6)Default

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What action plan is preferred if sql server is not responding?

539


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

517


Differentiate between a primary key and a unique key.

604


Why can there be only one clustered index and not more than one?

549


How real and float literal values are rounded?

591






What is resource governor?

552


what is a major difference between sql server 6.5 and 7.0 platform wise? : Sql server database administration

501


What is meant by referential integrity?

593


Explain left outer join and right outer join?

561


What function does a database engine serve in the sql server?

574


What is the need for group functions in sql?

569


How to automatically create a log when an exception is being received into SQL Server?

743


sql database suspect We have a sql database that is showing as suspect. How can we recover?

1406


what is a join? : Sql server database administration

550


How do you drop an index?

505