What are constraints? Explain different types of
constraints?

Answer Posted / rev

3 basic types
1.entity constraint:
check
not null
null
2.domain constraint:
unique
primary
composite primary key
3.referential constraint:
integrity
foreign

Is This Answer Correct ?    27 Yes 28 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many full-text indexes can a table have?

554


Which command is used for user defined error messages?

562


How to select some specific columns from a table in a query in ms sql server?

505


What is the default server name for sql server?

640


What are the database roles? : sql server security

566






Does group by or order by come first?

543


Why it is recommended to avoid referencing a floating point column in the where clause?

539


Explain differentiate between a having clause and a where clause?

520


How many types of schemas are there?

529


What is 'Join' and explain its various types.

627


What is data file in computer?

545


How to disconnect from a sql server using mssql_close()?

591


How can you fetch alternate records from a table?

545


Does view occupy space?

518


Do you know what guidelines should be followed to help minimize deadlocks?

537