OceanBase logo

OceanBase

A unified distributed database ready for your transactional, analytical, and AI workloads.

DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Resources

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS

OceanBase Cloud

OceanBase Database

Tools

Connectors and Middleware

QUICK START

OceanBase Cloud

OceanBase Database

BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Company

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

International - English
中国站 - 简体中文
日本 - 日本語
Sign In
Start on Cloud

A unified distributed database ready for your transactional, analytical, and AI workloads.

DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS
OceanBase CloudOceanBase Database
ToolsConnectors and Middleware
QUICK START
OceanBase CloudOceanBase Database
BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

Start on Cloud
编组
All Products
    • Databases
    • iconOceanBase Database
    • iconOceanBase Cloud
    • iconOceanBase Tugraph
    • iconInteractive Tutorials
    • iconOceanBase Best Practices
    • Tools
    • iconOceanBase Cloud Platform
    • iconOceanBase Migration Service
    • iconOceanBase Developer Center
    • iconOceanBase Migration Assessment
    • iconOceanBase Admin Tool
    • iconOceanBase Loader and Dumper
    • iconOceanBase Deployer
    • iconKubernetes operator for OceanBase
    • iconOceanBase Diagnostic Tool
    • iconOceanBase Binlog Service
    • Connectors and Middleware
    • iconOceanBase Database Proxy
    • iconEmbedded SQL in C for OceanBase
    • iconOceanBase Call Interface
    • iconOceanBase Connector/C
    • iconOceanBase Connector/J
    • iconOceanBase Connector/ODBC
    • iconOceanBase Connector/NET
icon

OceanBase Database

SQL - V4.3.5

    Download PDF

    OceanBase logo

    The Unified Distributed Database for the Al Era.

    Follow Us
    Products
    OceanBase CloudOceanBase EnterpriseOceanBase Community EditionOceanBase seekdb
    Resources
    DocsBlogLive DemosTraining & Certification
    Company
    About OceanBaseTrust CenterLegalPartnerContact Us
    Follow Us

    © OceanBase 2026. All rights reserved

    Cloud Service AgreementPrivacy PolicySecurity
    Contact Us
    Document Feedback
    1. Documentation Center
    2. OceanBase Database
    3. SQL
    4. V4.3.5
    iconOceanBase Database
    SQL - V 4.3.5
    SQL
    KV
    • V 4.4.2
    • V 4.3.5
    • V 4.3.3
    • V 4.3.1
    • V 4.3.0
    • V 4.2.5
    • V 4.2.2
    • V 4.2.1
    • V 4.2.0
    • V 4.1.0
    • V 4.0.0
    • V 3.1.4 and earlier

    ALL_PLSQL_TYPES

    Last Updated:2026-02-05 05:53:37  Updated
    share
    What is on this page
    Purpose
    Columns
    Sample query

    folded

    share

    Note

    For V4.3.x, this view was introduced in V4.3.5.
    For V4.2.x, this view was introduced in V4.2.5.

    Purpose

    The ALL_PLSQL_TYPES view displays information about package types. Only types in a package that has been successfully compiled are displayed in this view.

    Applicability

    This view applies only to OceanBase Database in Oracle mode.

    Columns

    Column Type Nullable? Description
    OWNER VARCHAR2(128) YES The username of the owner of the PL/SQL type.
    TYPE_NAME VARCHAR2(136) NO The name of the PL/SQL type.
    PACKAGE_NAME VARCHAR2(128) YES The name of the package to which the PL/SQL type belongs.
    TYPE_OID RAW(16) NO The object identifier of the PL/SQL type.
    TYPECODE VARCHAR2(58) NO The code of the PL/SQL type.
    ATTRIBUTES NUMBER(38) NO The number of attributes of the PL/SQL type.
    CONTAINS_PLSQL VARCHAR2(3) NO Whether the PL/SQL type contains PL/SQL code.

    Sample query

    Execute the following statement to query the overall information about all package types accessible to the current user.

    obclient> SELECT * FROM ALL_PLSQL_TYPES;
    

    The return result is as follows:

    +-------+------------------------+--------------+--------------------------+---------------+------------+----------------+
    | OWNER | TYPE_NAME              | PACKAGE_NAME | TYPE_OID                 | TYPECODE      | ATTRIBUTES | CONTAINS_PLSQL |
    +-------+------------------------+--------------+--------------------------+---------------+------------+----------------+
    | SYS   | <ASSOC_ARRAY_1>        | STANDARD     | 020000C1531400001C820835 | COLLECTION    |          0 | NO             |
    | SYS   |  SYS$REC_V2TABLE       | STANDARD     | 020000C1531400001B820835 | COLLECTION    |          0 | YES            |
    | SYS   |  SYS$BULK_ERROR_RECORD | STANDARD     | 020000C1531400001A820835 | PL/SQL RECORD |          2 | NO             |
    | SYS   |  SYS$INT_V2TABLE       | STANDARD     | 020000C15314000019820835 | COLLECTION    |          0 | NO             |
    | SYS   | <TYPED_TABLE>          | STANDARD     | 020000C15314000017820835 | COLLECTION    |          0 | YES            |
    | SYS   | <COLLECTION_1>         | STANDARD     | 020000C15314000015820835 | COLLECTION    |          0 | NO             |
    | SYS   | <TABLE_1>              | STANDARD     | 020000C15314000014820835 | COLLECTION    |          0 | NO             |
    | SYS   | <V2_TABLE_1>           | STANDARD     | 020000C15314000013820835 | COLLECTION    |          0 | NO             |
    | SYS   | <VARRAY_1>             | STANDARD     | 020000C15314000012820835 | COLLECTION    |          0 | NO             |
    | SYS   | <TUPLE_1>              | STANDARD     | 020000C15314000011820835 | PL/SQL RECORD |          1 | NO             |
    | SYS   | <RECORD_1>             | STANDARD     | 020000C15314000010820835 | PL/SQL RECORD |          1 | NO             |
    | SYS   | <ADT_1>                | STANDARD     | 020000C1531400000F820835 | PL/SQL RECORD |          1 | NO             |
    | SYS   | DBMSOUTPUT_LINESARRAY  | DBMS_OUTPUT  | 020000C15314000002820836 | COLLECTION    |          0 | NO             |
    | SYS   | CHARARR                | DBMS_OUTPUT  | 020000C15314000001820836 | COLLECTION    |          0 | NO             |
    | SYS   | BINARY_DOUBLE_TABLE    | DBMS_SQL     | 020000C157140000105A9D19 | COLLECTION    |          0 | NO             |
    | SYS   | BINARY_FLOAT_TABLE     | DBMS_SQL     | 020000C1571400000F5A9D19 | COLLECTION    |          0 | NO             |
    | SYS   | UROWID_TABLE           | DBMS_SQL     | 020000C1571400000E5A9D19 | COLLECTION    |          0 | NO             |
    | SYS   | CLOB_TABLE             | DBMS_SQL     | 020000C1571400000D5A9D19 | COLLECTION    |          0 | NO             |
    | SYS   | BLOB_TABLE             | DBMS_SQL     | 020000C1571400000C5A9D19 | COLLECTION    |          0 | NO             |
    | SYS   | DATE_TABLE             | DBMS_SQL     | 020000C1571400000B5A9D19 | COLLECTION    |          0 | NO             |
    | SYS   | VARCHAR2_TABLE         | DBMS_SQL     | 020000C1571400000A5A9D19 | COLLECTION    |          0 | NO             |
    | SYS   | NUMBER_TABLE           | DBMS_SQL     | 020000C157140000095A9D19 | COLLECTION    |          0 | NO             |
    | SYS   | DESC_TAB3              | DBMS_SQL     | 020000C157140000085A9D19 | COLLECTION    |          0 | YES            |
    | SYS   | DESC_REC3              | DBMS_SQL     | 020000C157140000075A9D19 | PL/SQL RECORD |         13 | NO             |
    | SYS   | DESC_TAB2              | DBMS_SQL     | 020000C157140000065A9D19 | COLLECTION    |          0 | YES            |
    | SYS   | DESC_REC2              | DBMS_SQL     | 020000C157140000055A9D19 | PL/SQL RECORD |         11 | NO             |
    | SYS   | DESC_TAB               | DBMS_SQL     | 020000C157140000045A9D19 | COLLECTION    |          0 | YES            |
    | SYS   | DESC_REC               | DBMS_SQL     | 020000C157140000035A9D19 | PL/SQL RECORD |         11 | NO             |
    | SYS   | VARCHAR2S              | DBMS_SQL     | 020000C157140000025A9D19 | COLLECTION    |          0 | NO             |
    | SYS   | VARCHAR2A              | DBMS_SQL     | 020000C157140000015A9D19 | COLLECTION    |          0 | NO             |
    | SYS   | INSTANCE_TABLE         | DBMS_UTILITY | 020000C1591400000AC66709 | COLLECTION    |          0 | YES            |
    | SYS   | INSTANCE_RECORD        | DBMS_UTILITY | 020000C15914000009C66709 | PL/SQL RECORD |          2 | NO             |
    | SYS   | NUMBER_ARRAY           | DBMS_UTILITY | 020000C15914000008C66709 | COLLECTION    |          0 | NO             |
    | SYS   | INDEX_TABLE_TYPE       | DBMS_UTILITY | 020000C15914000007C66709 | COLLECTION    |          0 | NO             |
    | SYS   | DBLINK_ARRAY           | DBMS_UTILITY | 020000C15914000006C66709 | COLLECTION    |          0 | NO             |
    | SYS   | MAXNAME_ARRAY          | DBMS_UTILITY | 020000C15914000005C66709 | COLLECTION    |          0 | NO             |
    | SYS   | LNAME_ARRAY            | DBMS_UTILITY | 020000C15914000004C66709 | COLLECTION    |          0 | NO             |
    | SYS   | QUOTED_NAME_ARRAY      | DBMS_UTILITY | 020000C15914000003C66709 | COLLECTION    |          0 | NO             |
    | SYS   | NAME_ARRAY             | DBMS_UTILITY | 020000C15914000002C66709 | COLLECTION    |          0 | NO             |
    | SYS   | UNCL_ARRAY             | DBMS_UTILITY | 020000C15914000001C66709 | COLLECTION    |          0 | NO             |
    | SYS   | DBLARRAY               | DBMS_STATS   | 020000C15914000006C66728 | COLLECTION    |          0 | NO             |
    | SYS   | FLTARRAY               | DBMS_STATS   | 020000C15914000005C66728 | COLLECTION    |          0 | NO             |
    | SYS   | RAWARRAY               | DBMS_STATS   | 020000C15914000004C66728 | COLLECTION    |          0 | NO             |
    | SYS   | CHARARRAY              | DBMS_STATS   | 020000C15914000003C66728 | COLLECTION    |          0 | NO             |
    | SYS   | DATEARRAY              | DBMS_STATS   | 020000C15914000002C66728 | COLLECTION    |          0 | NO             |
    | SYS   | NUMARRAY               | DBMS_STATS   | 020000C15914000001C66728 | COLLECTION    |          0 | NO             |
    | SYS   | CONNECTION             | UTL_TCP      | 020000C16214000001ACF623 | PL/SQL RECORD |          8 | NO             |
    +-------+------------------------+--------------+--------------------------+---------------+------------+----------------+
    47 rows in set (0.005 sec)
    

    Previous topic

    ALL_PART_INDEXES
    Last

    Next topic

    ALL_PLSQL_COLL_TYPES
    Next
    What is on this page
    Purpose
    Columns
    Sample query