Updated on 2024-12-06 GMT+08:00

Data Type Compatibility

Table 1 Other PL/SQL data types

No.

Oracle Database

GaussDB

Difference

1

CHARACTER

Supported, with differences.

  • GaussDB: The length ranges from 1 to 10485760 bytes.
  • Oracle Database: The length ranges from 1 to 32767 bytes.

2

VARCHAR

Supported, with differences.

  • GaussDB: The length ranges from 1 to 10485760 bytes.
  • Oracle Database: The length ranges from 1 to 32767 bytes.

3

STRING

Not supported.

-

4

PLS_INTEGER

Not supported.

In GaussDB, you can use the INT type.

5

BINARY_INTEGER

Supported.

-