Decodes data using the MIME base64 format and returns the string as a LONG VARCHAR.
BASE64_DECODE( string-expression )
string-expression The string that is to be decoded. Note that the string must be base64-encoded.
SQL/2003 Vendor extension.
The following inserts an image into an image table from an embedded SQL program. The input data (host variable) must be base64 encoded.
EXEC SQL INSERT INTO images ( image_data ) VALUES ( BASE64_DECODE ( :img ) ); |
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |