pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: pgsql-performance@postgresql.org
Cc: Pailloncy Jean-Gérard <jg@rilk.com>
Subject: Re: DB2 feature
Date: Fri, 3 Dec 2004 13:02:46 -0800
Message-ID: <200412031302.46772.josh@agliodbs.com> (raw)
In-Reply-To: <56141B8E-456B-11D9-9C9F-000A95DE2550@rilk.com>
References: <56141B8E-456B-11D9-9C9F-000A95DE2550@rilk.com>

Jean-Gerard,

> The listing 2 example:
> 1  SELECT D_TAX, D_NEXT_O_ID
> 2     INTO :dist_tax , :next_o_id
> 3     FROM OLD TABLE ( UPDATE DISTRICT
> 4                       SET  D_NEXT_O_ID = D_NEXT_O_ID + 1
> 5                       WHERE D_W_ID = :w_id
> 6                         AND D_ID = :d_id
> 7                     ) AS OT

A lot of this is non-standard SQL, so I can't really tell what DB2 is doing 
here.  Can you explain it?

-- 
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco



view thread (4+ messages)  latest in thread

Message-ID: <200412031302.46772.josh@agliodbs.com>
Permalink:  ../200412031302.46772.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200412031302.46772.josh@agliodbs.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: josh@agliodbs.com, jg@rilk.com
  Subject: Re: DB2 feature
  In-Reply-To: <200412031302.46772.josh@agliodbs.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox