The GET_ENDIANNESS function is used to obtain the byte storage order of the database platform.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition does not support this feature.
Syntax
DBMS_UTILITY.GET_ENDIANNESS
RETURN NUMBER;
Return value
A NUMBER value indicating the byte storage order of the database platform. Use 1 to indicate big-endian or 2 to indicate little-endian.
