unichar and univarchar compute 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. First, it sends a canned query to the server using a language command. It processes the results using the standard ct_results while loop. Then, it binds the column values to program variables. Finally, it fetches and displays the rows in the standard ct_fetch while loop.

For instructions on installing the unipubs2 database, read the README file available in the %SYBASE%\%SYBASE_OCS%\sample\ctlibrary directory.