explain the type of contraints
Answers were Sorted based on User's Feedback
Answer / reva ram sahu
constraint is a rule which can not be voilated by end users.
Different types of constraints are available.They are:-
1)default constraint:-which is used to define a default
value.
2)primary key:-the key which does not allows duplication
and null values.
3)foreign key:-the key used to refer primary key defined
field in another table and it allows duplication.
4)null:-which allows NULL values.
5)not null:-which does not allows NULL values.
6)unique key:-which does not allows duplication but allows
NULL values.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / surya
Constraints are used to provide the scope to table data...
they are..
Primary key
unique key
not null
check
foriegn key
default..
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / anand
primary constraint
check constraint
notnull constraint
foreign key constraint
| Is This Answer Correct ? | 0 Yes | 1 No |
How to generate create table script on an existing table in ms sql server?
Why normalization is used?
Explain the difference between clustered and non-clustered index?
What does it mean to invest in the index?
Difference between drill down and drill through report.
Which is the latest version of sql server and when it is released?
Do you know what is user defined datatypes and when you should go for them?
What are the differences between stored procedure and functions in SQL Server 2000?
25 Answers College School Exams Tests, HCL, Infosys, TCS,
Which stored procedure will you be running to add a linked server?
How to disconnect from a sql server using mssql_close()?
What are the parts of a function?
How do I get to sql server configuration manager?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)