what is Constraint? How many types of constraints in SQL ?
Answer Posted / ramesh.n
constraints are the restrictions or limitations that are
being imposed on the columns of a table to validate the data
either for insertion or updation constraints can be imposed
either during the process of table creation of a level.
There are 8 types of constraints
1.unique
2.Not null
3.Primary key
4.Check
5.Default
6.Foreign key
7.composite primary key
8.composite unique key
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
How will you add a dimension to cube? : sql server analysis services, ssas
Why normalization is used?
What is the sql profiler?
Your table has a large character field there are queries that use this field in their search clause what should you do?
What is the difference between char, varchar and nvarchar?
Explain nested stored procedure. Syntax and an example for create nested stored procedure?
Explain the steps to use transact-sql cursor?
What are the different Topologies in which Replication can be configured?
What is the return type of executeupdate ()?
How many types of stored procedures are there in sql server?
How to create “dependant” parameter “make, model, year”
If any stored procedure is encrypted, then can we see its definition in activity monitor?
What are the types of database schema? : sql server analysis services, ssas
What are the differences between ms sql server & oracle?
How to test subquery results with the exists operator?