Type (OraMetaData) Property

Applies To

OraMetaData Object

Description

Returns type of the schema object described by the OraMetaData object.

Usage

type = OraMetaData.Type

Remarks

The possible values include the following constants:

Constants Value
ORAMD_TABLE 1
ORAMD_VIEW 2
ORAMD_COLUMN 3
ORAMD_COLUMN_LIST 4
ORAMD_TYPE 5
ORAMD_TYPE_ATTR 6
ORAMD_TYPE_ATTR_LIST 7
ORAMD_TYPE_METHOD 8
ORAMD_TYPE_METHOD_LIST 9
ORAMD_TYPE_ARG 10
ORAMD_TYPE_RESULT 11
ORAMD_PROC 12
ORAMD_FUNC 13
ORAMD_ARG 14
ORAMD_ARG_LIST 15
ORAMD_PACKAGE 16
ORAMD_SUBPROG_LIST 17
ORAMD_COLLECTION 18
ORAMD_SYNONYM 19
ORAMD_SEQENCE 20
ORAMD_SCHEMA 21
ORAMD_OBJECT_LIST 22
ORAMD_OBJECT_LIST 23
ORAMD_DATABASE 24

Note:

If this version of the OraMetaData object is used on Oracle Database release 8.1 or later, values higher than 24 are possible if the database is enhanced to introduce new schema types.