security.HexBinary.ToString

Decodes an hexadecimal string to a clear, human-readable string.

Syntax

security.HexBinary.ToString(
   hexVal STRING )
  RETURNS STRING
  1. hexVal defines the string in hexadecimal.

Usage

Decodes the given hexadecimal string and returns it in its clear, human readable, form. If the hexadecimal string does not contain a human readable string, the method will raise an exception.

In case of error, the method throws an exception and sets the STATUS variable. Depending on the error, a human-readable description of the problem is available in the SQLCA.SQLERRM register. See Error handling in GWS calls (STATUS).