what is Constraint? How many types of constraints in SQL ?
Answer Posted / bimaleswar patel
Constraints are used to limit the type of data that can go
into a table.
two basic types of constraints are there
1.column level
2.table level
the difference is that column level constraints are apply
only to one column where as table level constraints are
apply to whole table
Constraints are declare at the time of table creation using
CREATE TABLE command
there are 6 constraints used in oracle
1.NOT NULL
2.UNIQUE
3.PRIMARY KEY
4.CHECK
5.DEFAULT
6.REFERENCES
Is This Answer Correct ? | 96 Yes | 24 No |
Post New Answer View All Answers
What is merge statement?
Why should one not prefix user stored procedures with ‘sp_’?
What is the use of tempdb? What values does it hold?
How to filter out duplications in the returning rows in ms sql server?
What is a file group?
how many triggers you can have on a table? : Sql server database administration
What is importing utility?
How to invoke a trigger on demand?
What do you mean by data manipulation language?
What are the two authentication modes in sql server?
Can two different columns be merged into single column? Show practically?
Do you know sql server 2008 backup compression?
What are magic tables in sql server?
Can binary strings be used in arithmetical operations?
Difference between drill down and drill through report.