csr_disp.c sample program

The csr_disp.c demonstrates using a read-only cursor:

This is the query:

select au_fname, au_lname, postalcode 
from authors

For more information about this sample program, see the leading comments in the example source file.

NoteThis sample requires the pubs2 database.