Chapter 3: Open Client DB-Library/C Sample Programs
Bind aggregate and compute results sample program
The example3.c sample program selects
information from the titles table in the pubs2 database
and prints it. It illustrates binding of both aggregate and compute
results.
Access to a Adaptive Server that contains the pubs2 database
is required.