OceanBase logo

OceanBase

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

Product Overview
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

OceanBase

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

Product Overview
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.2.2

    Download PDF

    OceanBase logo

    The Unified Distributed Database for the AI Era.

    Follow Us
    Products
    OceanBase CloudOceanBase EnterpriseOceanBase Community EditionOceanBase seekdb
    Resources
    DocsBlogWhite PaperLive DemosTraining & CertificationTicket
    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.2.2
    iconOceanBase Database
    SQL - V 4.2.2
    Databases
    • OceanBase Database
    • OceanBase Cloud
    • OceanBase Tugraph
    • Interactive Tutorials
    • OceanBase Best Practices
    Tools
    • OceanBase Cloud Platform
    • OceanBase Migration Service
    • OceanBase Developer Center
    • OceanBase Migration Assessment
    • OceanBase Admin Tool
    • OceanBase Loader and Dumper
    • OceanBase Deployer
    • Kubernetes operator for OceanBase
    • OceanBase Diagnostic Tool
    • OceanBase Binlog Service
    Connectors and Middleware
    • OceanBase Database Proxy
    • Embedded SQL in C for OceanBase
    • OceanBase Call Interface
    • OceanBase Connector/C
    • OceanBase Connector/J
    • OceanBase Connector/ODBC
    • OceanBase Connector/NET
    SQL
    KV
    • V 4.6.0
    • 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

    INFORMATION_SCHEMA PARAMETERS

    Last Updated:2026-04-15 08:27:15  Updated
    Share
    What is on this page
    Share

    The INFORMATION_SCHEMA PARAMETERS dictionary view provides parameters of stored routines such as stored procedures and stored functions and return values of stored functions, but not built-in (local) functions or loadable functions.

    The following table describes the fields in the INFORMATION_SCHEMA PARAMETERS dictionary view.

    Field
    Description
    SPECIFIC_CATALOG The name of the catalog to which the routine of the parameter belongs. The value of this field is always def.
    SPECIFIC_SCHEMA The name of the schema (or database) to which the routine of the parameter belongs.
    SPECIFIC_NAME The name of the routine that contains the parameter
    ORDINAL_POSITION The position of the parameter of the stored procedure or function. Valid values include 1, 2, and 3. For a stored function, a row is required for the return value of the function. The row that describes the return value has the following characteristics:
    • The value of ORDINAL_POSITION is 0.
    • The values of PARAMETER_NAME and PARAMETER_MODE are NULL.
    PARAMETER_MODE The parameter mode. The value can be IN, OUT, or INOUT. For the return value of a stored function, the value is NULL.
    PARAMETER_NAME The name of the parameter. For the return value of a stored function, the value is NULL.
    DATA_TYPE The data type of the parameter. The value of DATA_TYPE contains only the type name, without other information. The value of DTD_IDENTIFIER contains the data type name and other information, such as the precision or length.
    CHARACTER_MAXIMUM_LENGTH The maximum length of a string parameter, in characters.
    CHARACTER_OCTET_LENGTH The maximum length of a string parameter, in bytes.
    NUMERIC_PRECISION The numeric precision of a numeric parameter.
    NUMERIC_SCALE The numeric scale of a numeric parameter.
    DATETIME_PRECISION The datetime precision of a temporal parameter.
    CHARACTER_SET_NAME The character set name for a string parameter.
    COLLATION_NAME The character collation of a string parameter.
    DTD_IDENTIFIER The detailed information about the recorded data type. The value of DATA_TYPE contains only the type name, without other information. The value of DTD_IDENTIFIER contains the data type name and other information, such as the precision or length.
    ROUTINE_TYPE The type of the stored routine. For a stored procedure, the value is PROCEDURE. For a storage function, the value is FUNCTION.

    Here is an example:

    obclient> SELECT * FROM INFORMATION_SCHEMA.PARAMETERS
           WHERE SPECIFIC_SCHEMA='test' AND PARAMETER_NAME='c1'\G
    *************************** 1. row ***************************
              SPECIFIC_CATALOG: def
               SPECIFIC_SCHEMA: test
                 SPECIFIC_NAME: my_func
              ORDINAL_POSITION: 1
                PARAMETER_MODE: IN
                PARAMETER_NAME: c1
                     DATA_TYPE: char
      CHARACTER_MAXIMUM_LENGTH: 20
        CHARACTER_OCTET_LENGTH: 80
             NUMERIC_PRECISION: NULL
                 NUMERIC_SCALE: NULL
            DATETIME_PRECISION: NULL
            CHARACTER_SET_NAME: utf8mb4
                COLLATION_NAME: utf8mb4_general_ci
                DTD_IDENTIFIER: char(20)
                  ROUTINE_TYPE: FUNCTION             
    

    Previous topic

    SHOW TRIGGERS
    Last

    Next topic

    INFORMATION_SCHEMA ROUTINES
    Next