What are constraints? Explain different types of
constraints?
Answer Posted / haritha
constraint is a rule which can not be voilated by end users.
Different types of constraints are available.They are:-
1)default constraint:-which is used to define a default
value.
2)primary key:-the key which does not allows duplication
and null values.
3)foreign key:-the key used to refer primary key defined
field in another table and it allows duplication.
4)null:-which allows NULL values.
5)not null:-which does not allows NULL values.
6)unique key:-which does not allows duplication but allows
NULL values.
Is This Answer Correct ? | 283 Yes | 70 No |
Post New Answer View All Answers
What is the temp table?
how many no of arguments can be passed in procedures and functions
Where views are stored in sql server?
Explain trigger classes i.e. Instead of and after trigger?
What is the primary use of the model database?
Which sql server table is used to hold the stored procedure scripts?
between cast and convert which function would you prefer and why?
Explain SSRS Architecture?
explain the storage models of olap? : Sql server database administration
Why we need to use secondry database file? though, we can do same work using primary database file also.
What are the essential components of sql server service broker?
What is attribute hierarchy? : sql server analysis services, ssas
What is the new security features added in sql server 2016? : sql server security
Do you know the policy based administration feature of sql server 2008?
What stored by the model?