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 |
What are Magic Table?
34 Answers 3i Infotech, Digiweb, Evalueserve, NIIT, PL,
What is the difference between grant and with grant while giving permissions to the user?
What command is used to create a database in the sql server and how?
Is null in sql server?
What is lookup override?
What is change data capture (cdc) in sql server 2008?
1.how to find the dead lock in sql server? 2.How to fine the memory leaks in sql server? 3.suppose transaction log file increasing what action will take ?
Please explain what is “asynchronous” communication in sql server service broker?
What are the different ways you can create databases in sql server?
Explain syntax for disabling triggers?
what is raid? : Sql server database administration
How to truncate the log in sql server 2012? : sql server database administration
Oracle (3259)
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)