what is Constraint? How many types of constraints in SQL ?
Answer Posted / pramod tiwari,mba-it,lpu
SQL Constraints-
Constraints are used to limit the type of data that can go
into a table.
Constraints can be specified when a table is created (with
the CREATE TABLE statement) or after the table is created
(with the ALTER TABLE statement).
We will focus on the following constraints:
•NOT NULL
•UNIQUE
•PRIMARY KEY
•FOREIGN KEY
•CHECK
•DEFAULT
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
‘Order by’ is not allowed in a view how can you sort information from a view?
Explain the categories of stored procedure?
How to assign new column names in a view?
Do you know what is openxml in sql server?
What is the difference between online clustering and Offline clustering?
What is mssql?
What are the approximate numeric data types?
What are basics of policy management?
Explain activity monitors
What is the difference between for auto and for nested?
What happens to a statement batch if there is a compilation error?
How does Report Builder support Analysis Services cubes?
What is your recommendation for a query running very slow? : sql server database administration
Define inner join in sql server joins?
What is the difference in accessing db between sql server vs sql azure?