What are constraints? Explain different types of
constraints?

Answer Posted / smita

Constraint mostly restrict the user from entering violated
data into the table..

Various types of constraints are:
Primary Key Constraint
Foreign Key Constraint
Unique key Constraint
Check Constraint
NOT NULL Constraint

Is This Answer Correct ?    44 Yes 23 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are transactions in sql?

543


What are the transaction properties?

543


Explain the stored procedure?

627


Can you index views?

496


How to create an multi-statement table-valued function?

526






how do you implement one-to-one, one-to-many and many-to-many relationships while designing tables? : Sql server database administration

572


How does stuff differ from the replace function?

546


What is the main purpose of having conversation group?

490


What are the steps to process a single select statement?

505


What are the operating modes in which database mirroring runs?

602


What information is maintained within the msdb database?

536


You have to store user responses of ‘yes’ and ‘no’ what kind of data type is best suited for this task?

528


Tell me what do you mean by an execution plan? Why is it used? How would you view it?

520


Can we make the the chages By Using the Sql if u know any function or process please inform me Actuall result: BRK1 Break 1 Part 1 00:01:00:00 60 BRK1 Break 1 Part 2 00:01:00:00 60 BRK2 Break 2 Part 1 00:01:00:00 60 BRK2 Break 2 Part 2 00:01:00:00 60 BRK2 Break 2 Part 3 00:01:00:00 60 BRK3 Break 3 Part 1 00:01:00:00 60 BRK3 Break 3 Part 2 00:01:00:00 60 Desired O/P: BRK1 Break 1 Part 1 00:01:00:00 60 Part 2 00:01:00:00 60 BRK2 Break 2 Part 1 00:01:00:00 60 Part 2 00:01:00:00 60 Part 3 00:01:00:00 60

1713


What is the difference between nvl and nvl2?

544