What are constraints? Explain different types of
constraints?
Answer Posted / kannan g
Constraints are used to restrict or protect the data and
accessing from the table
There are 5 types of constraints available,
That,
1.Primary-which is not allowed duplication and Null values
2.Unique-Which is also Not allowed duplication But It is
allowed one single null values
3.Foreign - Which is allowed duplication and Null values.
But It refers Value from primary Key table to its own table
Value.
4.Check Constratints
5.Not null
| Is This Answer Correct ? | 10 Yes | 10 No |
Post New Answer View All Answers
What is recursion? Is it possible for a stored procedure to call itself or recursive stored procedure?
Do you know what are the reporting services components?
Tell me what is the stuff and how does it differ from the replace function?
How many types of relations are there between dimension and measure group? : sql server analysis services, ssas
What is provisioning, billing and metering, and connection routing concepts in the service layer?
What is the difference between migration and upgradation in sql server?
What are logical/boolean operations in ms sql server?
Define full outer join?
What different steps will a sql server developer take to secure sql server?
What is the minimum recommended amount of ram for sql server 2012 enterprise?
What is the security principal at the database level that represents your session?
What is bulkcopy in sql?
What is ems sql management studio? : sql server management studio
When I delete any data from a table, does the sql server reduce the size of that table?
How to retrieve field values using mssql_result()?