Subject Re: [ib-support] isc_dsql_exec_immed2()
Author C R Zamana
Paul Reeves wrote:
> C R Zamana wrote:
>
>>Paul Beach wrote:
>>
>>>Lets be more accurate here...
>>>
>> Ok, I understand.
>>
>> Do you have any idea about an workaround for this?
>>I just want a simple value: number of columns of a table.
>>Get such information by opening a cursor and fetching it
>>and closing it is somewhat "overweight", I think.
>>
>>
>
> If you are working at the API level it should be relatively
> simple. Do a 'select * from mytable' and then prepare it.
> Read XSQLDA.sqld to get the number of columns in the result
> set.

Yes, but what about the return values of a procedure
call? Works like this too?

Thank you.
Best regards.




--
------------------------------------------------------------------------
zamana@... | "Emacs is a nice OS - but it lacks a good text
zamana@... | editor. That's why I'm using Vim. Anonymous
http://www.inso.com.br | http://www.vim.org/quotes.html
------------------------------------------------------------------------