Subject | Re: [firebird-support] Firebird 2.0 Release Notes: EXECUTE BLOCK, RETURNING CLAUSE, COMPOUND INDEX |
---|---|
Author | Dmitry Yemanov |
Post date | 2007-06-28T15:00:08Z |
crizoo4712 wrote:
the same way as you just do SELECT instead of SELECT INTO.
Dmitry
>Can you create a stored procedure with the same body?
> In order to be able to return multiple rows, I changed it to:
> EXECUTE BLOCK returns (out integer)
> AS
> BEGIN
> for select f1 from T2 into out do
> suspend;
> END
> This causes the error "-104 - Token unknown line 5, column 1 ;".
> Whats up here?
> 2. The RETURNING CLAUSE for inserts is announced as available in DSQLWhat does everybody expect? The INTO clause is not needed for DSQL in
> and PSQL. The usage in PSQL is no problem.
> In contradiction to the announced DSQL-Availability it is written in
> the Notes, that the INTO part is allowed in PSQL only and rejected in
> DSQL (everybody expects this..).
the same way as you just do SELECT instead of SELECT INTO.
> Now..is it available in DSQL or not?Yes.
> What is meant by "protocol roundtrip"?A single packet handshake (send-reply).
> 3. SELECTIVITY MAINTENANCE per Segment is announced.Nope, this is impossible.
> Can one select values of columns which are the 2nd element of a
> compound index for example and have an index access?
Dmitry