UTL_RAW
Related Interfaces
Table 1 provides all interfaces supported by the UTL_RAW package.
API |
Description |
---|---|
Converts an INTEGER type value to a binary representation (RAW type). |
|
Converts a binary representation (RAW type) to an INTEGER type value. |
|
Obtains the length of the RAW type object. |
|
Converts a VARCHAR2 type value to a binary expression (RAW type). |
The external representation of the RAW type data is hexadecimal and its internal storage form is binary. For example, the representation of the RAW type data 11001011 is 'CB'. The input of the actual type conversion is 'CB'.
- UTL_RAW.CAST_FROM_BINARY_INTEGER
The stored procedure CAST_FROM_BINARY_INTEGER converts an INTEGER type value to a binary representation (RAW type).
The UTL_RAW.CAST_FROM_BINARY_INTEGER function prototype is:
- UTL_RAW.CAST_TO_BINARY_INTEGER
The stored procedure CAST_TO_BINARY_INTEGER converts an INTEGER type value in a binary representation (RAW type) to the INTEGER type.
The UTL_RAW.CAST_TO_BINARY_INTEGER function prototype is:
- UTL_RAW.LENGTH
The stored procedure LENGTH returns the length of a RAW type object.
The UTL_RAW.LENGTH function prototype is:
Table 4 UTL_RAW.LENGTH interface parameters Parameter
Description
r
Specifies a RAW type object.
- UTL_RAW.CAST_TO_RAW
The stored procedure CAST_TO_RAW converts a VARCHAR2 type object to the RAW type.
The UTL_RAW.CAST_TO_RAW function prototype is:
Table 5 UTL_RAW.CAST_TO_RAW interface parameters Parameter
Description
c
Specifies a VARCHAR2 type object to be converted.
Examples
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.