Encodes data using the MIME base64 format and returns it as a 7-bit ASCII string.
BASE64_ENCODE( string-expression )
string-expression The string that is to be encoded.
SQL/2003 Vendor extension.
The following retrieves data from a table containing images and returns it in ASCII format. The resulting string can be embedded into an email message, and then decoded by the recipient to retrieve the original image.
SELECT BASE64_ENCODE( image_data ) FROM IMAGES; |
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |