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
Explain identity in sql server?
How to connect to a sql server using odbc_connect()?
Write an sql query for deleting duplicate rows?
what are the critical issues you have resloved in your company
What is the parse query button used for?
What are the filtered indexes?
What are user-defined functions (udfs) in sql server?
Difference Between ORDER BY Clause and GROUP BY Clause in SQL?
What are the different types of stored procedures?
Define inner join in sql server joins?
Explain various On-Delete options in a DB table. Which is the default option?
How can we determine what objects a user-defined function depends upon?
What is a non-clustered index?
What is the use of tempdb? What values does it hold?
How to create database with physical files specified in ms sql server?