Subject | Re: [firebird-support] select statements using api |
---|---|
Author | Dimitry Sibiryakov |
Post date | 2004-08-20T05:31:49Z |
On 19 Aug 2004 at 14:44, blahclayton wrote:
and then set sqlvar[i].sqltype = SQL_TEXT | (sqlvar[i].sqltype & 1);
The last piece is purposed to preserve "nullable" sign.
SY, Dimitry Sibiryakov.
>I was hoping to get all paramater types as char* without having toNot for all types of fields. It is impossible for BLOBs.
>convert them as shown in firebird example apifull.c. Is this possible?
>If so how do I set up the XSQLDA to pass to the isc_dsql_fetch?The same way as input SQLDA. The easiest way: call isc_dsql_prepare
and then set sqlvar[i].sqltype = SQL_TEXT | (sqlvar[i].sqltype & 1);
The last piece is purposed to preserve "nullable" sign.
SY, Dimitry Sibiryakov.