If you find that the examples in this section do not work as shown, you may need to install or restore the example database with the
package, as described in Using the Example Databases.
Open a connection:
Here is a plot:
| Out[4]= |  |
This generates a string that contains the image in GIF format:
This shows part of the string:
| Out[6]= |  |
This converts the string into a list of bytes wrapped in SQLBinary:
This inserts the data:
This retrieves the data:
This converts it back into a string:
Here is the imported image:
| Out[11]= |  |