Subject Re: Retrieving non-column data under program control
Author Alan Jones
--- In firebird-support@yahoogroups.com, "Alan Jones" <AlanJones@s...>
wrote:
> My application is written C++. I can retrieve column information but
> when I do a SELECT that returns a number, I don't know how to
retrieve
> it. An example is:
>
> SELECT COUNT(*) FROM mytable;
>
I found the answer myself by running the apifull.exe example that comes
with the distribution. When you run the above expression, the return
is a result as if there were a column called COUNT whose value is a
long integer which represents the number of rows.

Alan