Chapter 43. DBMS_TYPES

Table of Contents

43.1. Overview
43.2. Constants

This chapter briefly introduces the DBMS_TYPES package, and how to use the procedures of the package.

43.1. Overview

DBMS_TYPES enumerates the data type numbers of Tibero.

The actual type can be found by mapping the column type number obtained using the DBMS_SQL.DESCRIBE_COLUMNS procedure with the value defined in this package.

43.2. Constants

The following constants are defined in the DBMS_TYPES.

AlgorithmDescription
TYPECODE_NUMBERA NUMBER type
TYPECODE_CHARA CHAR type
TYPECODE_VARCHARA VARCHAR type
TYPECODE_RAWA RAW type
TYPECODE_DATEA DATE type
TYPECODE_TIMEA TIME type
TYPECODE_TIMESTAMPA TIMESTAMP type
TYPECODE_ITV_YTMAn INTERVAL YEAR TO MONTH type
TYPECODE_ITV_DTSAn INTERVAL DAY TO SECOND type
TYPECODE_LONGA LONG type
TYPECODE_LONG_RAWA LONG RAW type
TYPECODE_BLOBA BLOB type
TYPECODE_CLOBA CLOB type
TYPECODE_BFILEA BFILE type
TYPECODE_ROWIDA ROWID type
TYPECODE_CSRA CSR type
TYPECODE_NCHARAn NCHAR type
TYPECODE_NVARCHARAn NVARCHAR type
TYPECODE_NCLOBAn NCLOB type
TYPECODE_NONEAn unspecified type, such as NULL.
TYPECODE_UNKNOWNAn unknown type