Lab 02 - Introduction to Oracle
Lab 02 - Introduction to Oracle
LAB SESSION
Introduction to Databases
Oracle.
Creating Tables
Datatype Description
NUMBER (p, Variable-length numeric data. Maximum precision p
s) and/or scale s is 38. Variable for each row. The
maximum space required for a given column is 21
bytes per row.
DATE Fixed-length date and time data, ranging from Jan. 1,
4712 B.C.E. to Dec. 31, 4712 C.E. Fixed at 7 bytes for
each row in the table. Default format is a string (such
as DD-MON-RR) specified by the NLS_DATE_FORMAT
parameter.
TIMESTAMP A value representing a date and time, including
(precision) fractional seconds. (The exact resolution depends on
the operating system clock.) Varies from 7 to 11 bytes,
depending on the precision.
BLOB Unstructured binary data. Up to 232 - 1 bytes, or 4
gigabytes.
BFILE Binary data stored in an external file . Up to 232 - 1
bytes, or 4 gigabytes.
Creating a User