What are database objects?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What are database objects?
Rating:
Database objects are data structures that are stored in an Oracle database. They are used to store data, access stored data, restrict data access, and speed up data access. Database objects can be created either by Oracle Server or a database user. An Oracle database can contain multiple database objects. Following are the primary database objects:
A table can be created in a database at any time, even while users are using the database. While creating a table, its size need not be specified. It is ultimately determined by the amount of space allocated to the database as a whole.
Values are extracted from a sequence using the
Two types of indexes can be created. They are as follows:
- Unique index: Oracle automatically creates this index when a column in a table is defined as a PRIMARY KEY or UNIQUE constraint.
- Non-unique index: This index can be created by a database user.
- NOT NULL constraint: It specifies that the column does not accept NULL values.
- CHECK constraint: It enforces domain integrity by limiting the values that can be placed in a column.
- UNIQUE constraint: It enforces the uniqueness of values in a set of columns.
- PRIMARY KEY constraint: It identifies the column or set of columns whose values uniquely identify a row in a table.
- FOREIGN KEY constraint: It establishes a foreign key relationship between the columns of the same table or different tables.
Rating:
Was this information helpful?
Other articles
- What is an outer join?
- What is DECODE function?
- What is a column alias?
- What is NVL function?
- What are the guidelines for naming an Oracle database table?
