Subject | Re: [Firebird-Architect] Re: Indexed Views |
---|---|
Author | Dmitry Yemanov |
Post date | 2004-12-22T16:38:36Z |
"Jim Starkey" <jas@...> wrote:
raised (and partially discussed) in fb-devel. This is what Oracle offers:
PSQL: <statement> [RETURNING <values> INTO <variables>]
Client: <statement> [RETURNING <values>]
where <statement> is INSERT, UPDATE or DELETE.
And PSQL version of INSERT worked quite well (using blr_store2) in my
private tree 6 months ago. If people do want this, let's just agree on
syntax/semantics and I'll provide a patch for both Vulcan and HEAD in one
week.
Dmitry
>Why? The RETURNING clause does this job perfectly. IIRC, this question was
> I built a scheme in blr (blr_store2) to handling this, but it maps very
> poorly into SQL. To be completely honest, it maps poorly into
> everything else, too.
raised (and partially discussed) in fb-devel. This is what Oracle offers:
PSQL: <statement> [RETURNING <values> INTO <variables>]
Client: <statement> [RETURNING <values>]
where <statement> is INSERT, UPDATE or DELETE.
And PSQL version of INSERT worked quite well (using blr_store2) in my
private tree 6 months ago. If people do want this, let's just agree on
syntax/semantics and I'll provide a patch for both Vulcan and HEAD in one
week.
Dmitry