Oracle Database - Objects

Card Puncher Data Processing

About

Database object.

Each database object is considered to either be:

See for plsql object type: PL/SQL - Object datatype

Object in different namespace are allowed to have identical names.

List

Type

Non-Schema

Schema

See Schema Object

Creation

  • In line
create table employees
(
   emp_id    number primary key,
   emp_name  varchar2(30)
)
  • Out of line. Excepted for the NOT NULL constraint
create table employees
(
   emp_id    number,
   emp_name  varchar2(30)
   constraint emp_id_pk primary key (emp_id)
)
  • Alter
create table employees
(
   emp_id    number,
   emp_name  varchar2(30)
);
alter table employees modify emp_id constraint emp_id_pk primary key;





Discover More
Card Puncher Data Processing
How you can use a bind variable in SQLPlus

This page is specifically about the usage of SQL bind variable in SQLPlus.
Oracle Segment Extent Data Block
Oracle Database - (Logical) Segment (Database Object Storage)

A segment is a logical storage structure that contains data structure (segment type) of database objects. For example: each table's data is stored in its own data segment, while each index's data...



Share this page:
Follow us:
Task Runner