uudecode() function

The uudecode() function decodes an ASCII value that was previously encoded by using the UNIX UUencode format.

Syntax

The uudecode() function has the following syntax:
varchar = uudecode(varchar input);
nvarchar = uudecode(nvarchar input);

The input value specifies the string to decode.

Returns

The function returns a decoded string.

Example

select uudecode(uuencode('hat'));
 UUDECODE
----------
 hat
(1 row)