Re: [firebird-support] FB3 returning clause and new API

2016-09-15 Thread Martin Schreiber mse00...@gmail.com [firebird-support]
On Thursday 15 September 2016 11:09:43 Dimitry Sibiryakov s...@ibphoenix.com [firebird-support] wrote: > 15.09.2016 11:14, Martin Schreiber mse00...@gmail.com [firebird-support] wrote: > > What if one wants to use > > IAttachment.execute() where no IStatement is available? > >(S)he must

Re: [firebird-support] FB3 returning clause and new API

2016-09-15 Thread Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
15.09.2016 11:14, Martin Schreiber mse00...@gmail.com [firebird-support] wrote: > What if one wants to use > IAttachment.execute() where no IStatement is available? (S)he must provide IMetadata built with builder. -- WBR, SD.

Re: [firebird-support] FB3 returning clause and new API

2016-09-15 Thread Martin Schreiber mse00...@gmail.com [firebird-support]
On Thursday 15 September 2016 10:29:27 Dimitry Sibiryakov s...@ibphoenix.com [firebird-support] wrote: > 15.09.2016 10:16, Martin Schreiber mse00...@gmail.com [firebird-support] wrote: > > And then how to get the data? > >Last two parameter of the methods is an output message where output

Re: [firebird-support] FB3 returning clause and new API

2016-09-15 Thread Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
15.09.2016 10:16, Martin Schreiber mse00...@gmail.com [firebird-support] wrote: > And then how to get the data? Last two parameter of the methods is an output message where output data is returned in. -- WBR, SD.

Re: [firebird-support] FB3 returning clause and new API

2016-09-15 Thread Martin Schreiber mse00...@gmail.com [firebird-support]
On Thursday 15 September 2016 09:01:04 Dimitry Sibiryakov s...@ibphoenix.com [firebird-support] wrote: > 15.09.2016 7:56, Martin Schreiber mse00...@gmail.com [firebird-support] wrote: > > How the values of a returning clause can be fetched with OOP-API? > >Use IAttachment::execute() for

Re: [firebird-support] FB3 returning clause and new API

2016-09-15 Thread Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
15.09.2016 7:56, Martin Schreiber mse00...@gmail.com [firebird-support] wrote: > How the values of a returning clause can be fetched with OOP-API? Use IAttachment::execute() for single execution of queries without parameters and IStatement::execute() for the rest. -- WBR, SD.

[firebird-support] FB3 returning clause and new API

2016-09-14 Thread Martin Schreiber mse00...@gmail.com [firebird-support]
Hi, How the values of a returning clause can be fetched with OOP-API? Example: " insert into TABLE1 (STR1) values ('aabbccdd') returning PK " Martin