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
what are the three command line utilities and what are their primary functions?
How to select some specific columns from a table in a query in ms sql server?
What are the default system databases in sql server 2000?
How do I find the query plan in sql server?
What is the difference between left and right outer join?
How can I create a report based on a query? : sql server management studio
You want to be sure that queries in a database always execute at the maximum possible speed. To achieve this goal you have created various indexes on tables which other statement will keep the database in good condition?
What is 2nf example?
What is the temp table?
What is sql language?
What are the properties of sub-query?
Can you explain about buffer cash and log cache in sql server?
What is similarity and difference between truncate and delete in sql?
how you can move data or databases between servers and databases in sql server? : Sql server administration
What are null values in ms sql server?