Retrieve image sample program

The exampl11.c sample program retrieves an image from the au_pix table in the pubs2 database. The author identification you enter determines which row the program selects. After retrieving the row, this example copies the image contained in the pic column to a file you specify.

There are two ways to retrieve a text or image value from Adaptive Server:

NoteAccess to an Adaptive Server that contains the pubs2 database is required.