example10.c sample program

The example10.c prompts you for an author ID and the name of a file containing an image, reads the image from the file, and inserts a new row containing the author ID and the image into the pubs2 database table called au_pix. For general information on inserting text or image values into a database table, see example9.c.

NoteTo use this sample, you must be able to access Adaptive Server that contains the pubs2 database. The author ID must be in the form 000-00-0000. The imagefile file, provided with the sample code, contains an image.