Re: How to write such a query

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Igor Korot <ikorot01(at)gmail(dot)com>
Cc: Ken Tanzer <ken(dot)tanzer(at)gmail(dot)com>, Ron <ronljohnsonjr(at)gmail(dot)com>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: How to write such a query
Date: 2020-09-18 20:39:07
Message-ID: CAKFQuwYCcreak5NEMNNfoJXQTj64R3VO=mA43OjXcUYxdUEOYQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Sep 18, 2020 at 1:18 PM Igor Korot <ikorot01(at)gmail(dot)com> wrote:

> As I said - Access does it without changing the query internally (I
> presume).
>
> I want to do the same with PostgreSQL.
>

I suspect they basically do the equivalent of:

UPDATE ... WHERE CURRENT OF <cursor name>;

https://www.postgresql.org/docs/12/sql-update.html

David J.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Igor Korot 2020-09-18 22:09:38 Re: How to write such a query
Previous Message Ken Tanzer 2020-09-18 20:34:25 Re: How to write such a query