云数据库 GAUSSDB-DBE_SQL:数据类型介绍

时间:2024-01-23 20:09:42

数据类型介绍

  • DBE_SQL.DESC_REC

    该类型是复合类型,用来存储SQL_DESCRIBE_COLUMNS接口中的描述信息。

    DBE_SQL.DESC_REC函数的原型为:

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    CREATE TYPE DBE_SQL.DESC_REC AS (
          col_type            int,
          col_max_len         int,
          col_name            VARCHAR2(32),
          col_name_len        int,
          col_schema_name     VARCHAR2(32),
          col_schema_name_len int,
          col_precision       int,
          col_scale           int,
          col_charsetid       int,
          col_charsetform     int,
          col_null_ok         BOOLEAN
    );
    

support.huaweicloud.com/distributed-devg-v3-gaussdb/gaussdb-12-0756.html