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
How many types of objects are there?
Explain what are sparse columns?
What are the High-Availability solutions in SQL Server and differentiate them briefly?
1 01 101 01010
Ways to improve the performance of a SQL Azure Database?
List the data types available in mssql?
What is table join?
What is sparse columns of sql server 2008?
How to download and install microsoft sql server management studio express?
How to disconnect from a sql server using mssql_close()?
Explain DBCC?
What are the new features of sql server 2012 reporting service?
Explain how you can deploy an SSRS report?
Why union all is faster than union?
Explain about remote stored procedure?