The GET_ENDIANNESS function returns the endianness of the database platform.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition provides only the MySQL mode.
Syntax
DBMS_UTILITY.GET_ENDIANNESS
RETURN NUMBER;
Return values
A NUMBER value that indicates the endianness of the database platform is returned. The value 1 indicates big-endian and value 2 indicates little-endian.