Decodes a base 64 encoded value and returns a string with the binary data representation of the data. If you encode data using ENC_BASE64, and you want to decode data using DEC_BASE64, you must run the mapping using the same data movement mode. Otherwise, the output of the decoded data may differ from the original data.
Syntax
DEC_BASE64(
value
)
The following table describes the argument for this command:
Argument
Required/
Optional
Description
value
Required
String datatype. Data that you want to decode.
Return Value
Binary decoded value.
NULL if the input is a null value.
Return values differ if the mapping runs in Unicode mode versus ASCII mode.