what is Constraint? How many types of constraints in SQL ?
Answer Posted / vinod
Constraints are used to restrict the insertion of unwanted data.
Using constraints you can maintain data integrity by preventing invalid data being entered.
Constraints are Five type
Primary key
Unique Key
Foreign Key
Not Null
Check
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can you explain how long are locks retained within the repeatable_read and serializable isolation levels, during a read operation with row-level locking?
What are some of the pros and cons of not dropping the sql server builtinadministrators group? : sql server security
Explain sql delete command?
How to add the custom code in Report?
Give main differences between "Truncate" and "Delete".
What is dirty page?
What is a trigger and types of a trigger?
How to create an index on a view?
What are policy management terms?
What is the purpose of the tempdb database?
Is it possible to import data directly from t-sql commands without using sql server integration services? If so, what are the commands?
Explain what are magic tables in sql server?
What is the use of toad or sqldbx.?
Explain Geography datatype in SQL Server
What is order of B+tree?