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 the maximum size of a dimension? : sql server analysis services, ssas
how can you find out if the current user is a member of the specified microsoft® windows nt® group or microsoft sql server™ role? : Sql server administration
Explain how to maintain a fill factor in existing indexes?
Which table keeps the locking information?
How to connect to a sql server using odbc_connect()?
How to delete multiple rows with one delete statement in ms sql server?
why would you use sql agent? : Sql server database administration
What are character string data types in ms sql server?
How to provide values to stored procedure parameters in ms sql server?
how do you determine the Load performance of any query in sql server {example how do u determine performance of a select stmnt which returns Dynamically many no of records ... some times 100,1000,10000 etc., }
Does a specific recovery model need to be used for a replicated database? : sql server replication
How to Check if table exists in sql server?
What is a cursor, index in sql?
can an order by clause be used in a creation of a view?
What is autocommit mode in sql server?