Subject Re: [ib-support] SQLBindCol, SQLDescribeCol
Author Martijn Tonies
Hi Jonas,

> Im trying to retrieve the value from: SELECT GEN_ID(GEN_USER, 1) FROM
> RDB$DATABASE
>
> The SQLExecute returns OK and when I use SQLDescribeCol to fetch info
> about the column it returns -5 as datatype.
> What datatype should I use for SQLBindCol to retrieve the value?

These are ODBC calls, right? What datatype is -5?

In dialect 1, a GEN_ID returns (should return) a 32-bit signed integer, in
dialect
3, it should return a 64-bit signed integer.


With regards,

Martijn Tonies
InterBase Workbench - the developer tool for InterBase & Firebird
Firebird Workbench - the developer tool for Firebird
Upscene Productions
http://www.upscene.com

"This is an object-oriented system.
If we change anything, the users object."