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

Answer Posted / scornguy

Constraints are used to limit the type of data that can go
into a table.

NOT NULL
UNIQUE
PRIMARY KEY
FOREIGN KEY
CHECK
DEFAULT

Is This Answer Correct ?    225 Yes 29 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are unicode character string data types in ms sql server?

615


What is nested transaction?

542


What is difference between equi join and inner join?

486


What is xdr?

577


What are the differences between DDL, DML and DCL in SQL?

764






How to create a local temporary stored procedure?

509


Explain can SSRS reports Cache results?

112


What is the benefit of normalization?

598


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

553


what data regions are and what are the different data regions?

101


What do you understand by replication in sql server? Mention the different types of replication in sql server.

519


What is collation sensitivity?

557


What is read committed?

619


Explain index in sql server?

607


Write the queries for commands like Create Table, Delete table, Drop Table etc.

623