uni_compute.c sample program

The uni_compute.c sample program demonstrates processing of compute results. It is a modification of the compute.c sample program for the unichar and univarchar datatypes and requires the unipubs2 database. It sends a canned query to the server using a language command. After it processes the results using the standard ct_results loop, it binds the column values to program variables. Then, it fetches and displays the rows in the standard ct_fetch loop.

For instructions on installing the unipubs2 database, read the README file in the $SYBASE/$SYBASE_OCS/sample/ctlibrary directory.