what is Constraint? How many types of constraints in SQL ?
Answer Posted / mohan
Constraint is nothing but set of rules or restrictions on a column,in order to achieve business requirements.
There are five types of constraints,
they are
1.primary key
2.unique key
3.not null
4.check
5.foreign key
These constraints also called data integrity constraints.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Explain different types of locks in sql server.
What is the use of group by clause?
How to access the inserted record of an event?
Explain the benefits of user-defined functions?
What are the dis_advantages of stored procedures, triggers, indexes?
What is database dimension? : sql server analysis services, ssas
How much memory that we are using in Logshipping Concept?
Explain the properties of the relational tables?
How to change a login name in ms sql server?
How do I run sql server 2014?
Do you know what is recursion? Is it possible for a stored procedure to call itself or recursive stored procedure? How many levels of sp nesting is possible?
What is a trigger? Why we need it?
What is user-defined function?
What is difference between global temporary tables and local temporary tables?
What is normalization? Explain different forms of normalization?