Subject Re: [firebird-support] FB3 returning clause and new API
Author Martin Schreiber
On Thursday 15 September 2016 11:09:43 Dimitry Sibiryakov sd@...
[firebird-support] wrote:
> 15.09.2016 11:14, Martin Schreiber mse00000@... [firebird-support]
wrote:
> > What if one wants to use
> > IAttachment.execute() where no IStatement is available?
>
> (S)he must provide IMetadata built with builder.

I am implementing a Firebird 3 connection component for MSEide+MSEgui (a Free
Pascal toolkit) so I don't know the returned data of the statements in the
first place.
In case of input params I implemented an own IMessageMetadata derivate which
uses the type information of TParam in order to setup the metadata. In case
of "returning" the data type is unknown without parsing the SQL statement.
It seems I always need to prepare the statement first?

Martin