ORACLE INTERVIEW QUESTION & ANSWERS
| 41. |
Define constraints? |
| |
- Constraint is a rule or restriction concerning a piece of data that is enforced at the data level rather than the object or application level.
- A constraint clause can constraint a single column or group of columns in a table.
|
| 42. |
What are the different types of constraints? |
| |
There are five types of constraints namely are : - Null / Not Null
- Primary Key
- Unique
- Check or Validation
- Foreign key or References key
|
| 43. |
What is the different types of constraint clause? |
| |
Constraint clause can be divided in two levels are : - Table constraint
- Column constraint
|
| 44. |
What is the primary duty of the DBA? |
| |
The primary duty of the DBA is to protect the database and provide continuous (if required) access to that data for the user community. |
| 45. |
What is a Tablespace? |
| |
A database is divided into Logical Storage Unit called tablespace. A tablespace is used to grouped related logical structures together. |