Professional Documents
Culture Documents
A.overview of Oracle DB Datatypes
A.overview of Oracle DB Datatypes
ORACLE
DATABASE
• Relational tables
Relational tables have simple columns and are the most common table
type.
• Object tables
The columns correspond to the top-level attributes of an object type. See
TABLES
You can create a relational table with the following organizational characteristics:
• A heap-organized table does not store rows in any particular order. The
CREATE TABLE statement creates a heap-organized table by default.
• An index-organized table orders rows according to the primary key values. For
some applications, index-organized tables enhance performance and use disk
space more efficiently.
Temporary tables are useful in applications where a result set must be held
temporarily, perhaps because the result is constructed by running multiple
operations.
session
A logical entity in the database instance memory that represents the state of a
current user login to a database. A single connection can have 0, 1, or more sessions
established on it.
TABLES
TABLES
Columns
A table definition includes a table name and set of columns.
A column identifies an attribute of the entity described by the table.
In general, you give each column a column name, a data type, and a width
when you create a table.
Invisible Columns
An invisible column is a user-specified column whose values are only
visible when the column is explicitly specified by name. You can add an invisible
column to a table without affecting existing applications, and make the column
visible if necessary.
In general, invisible columns help migrate and evolve online applications.
TABLES
Invisible Columns
The following example creates a table products with an invisible column count, and
then makes the invisible column visible: