- Each value manipulated by Oracle Database has a data type.
- The data type of a value associates a fixed set of properties with the value.
- These properties cause Oracle to treat values of one data type differently from values of another. For example, you can add values of NUMBER data type, but not values of CHAR data type.
- When you create a table, you must specify a data type for each of its columns.
- These data types define the domain of values that each column can contain, or each argument can have. For example, DATE columns cannot accept the value February 29 (except for a leap year) or the values 2 or 'SHOE'.
- For example,
if you insert '01-JAN-98' into a DATE column,
then Oracle treats the
'01-JAN-98' character string as a DATE value after verifying that it translates to a valid
date. -
Data Types
- String / Char Data Types
- Numeric Data Types
- Date Data Types
- Binary Data Types
String / Char Data types- Char (Size)
- Varchar2(Size)
- Nvarchar2(Size)
- Nchar(Size)
- Long
Numeric Data types
- Number(Precesion)
- Number(Precesion, [Scale])
DATE data types
- Date
Binary Data types
- Raw(Size)
- Long Raw(Size)
- Lob--Large Objects
- Clob
- Blob
- Nclob
Oracle Data Types
Subscribe to:
Posts (Atom)