Subject | Re: [ib-support] SQLBindCol, SQLDescribeCol |
---|---|
Author | Martijn Tonies |
Post date | 2003-02-24T09:52:34Z |
Hi Jonas,
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."
> Im trying to retrieve the value from: SELECT GEN_ID(GEN_USER, 1) FROMThese are ODBC calls, right? What datatype is -5?
> 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?
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."