Subject RE: [firebird-support] what to use
Author Alan McDonald
> selecting a integer from the db
>
> posqlda->sqlvar[2].sqldata = (char *)&osident;
> posqlda->sqlvar[2].sqltype = SQL_LONG + 1;
> posqlda->sqlvar[2].sqllen = sizeof(field1);
> posqlda->sqlvar[2].sqlind = &flag2;
>
> selecting a smallint from the db
>
> posqlda->sqlvar[3].sqldata = (char *)&port;
> posqlda->sqlvar[3].sqltype = SQL_SHORT + 1;
> posqlda->sqlvar[3].sqllen = sizeof(field2);
> posqlda->sqlvar[3].sqlind = &flag3;
>
> what do I use for a bigint?
>

SQL_INT64 = 580;

Alan