Re: How to find LIMIT in SQL standard

From: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>
To: Rory Campbell-Lange <rory(at)campbell-lange(dot)net>
Cc: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to find LIMIT in SQL standard
Date: 2003-09-25 14:48:25
Message-ID: 20030925074435.Q79424@megazone.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 25 Sep 2003, Rory Campbell-Lange wrote:

> Thanks for the reply, Stephan. Sorry about the late reply.
>
> Your dissection of the standard (and thanks for the translation, by
> the way!) is a clear reason to use unique row ids. Unfortunately the
> project I am reporting bugs on does not do this at present.

Well, if you're looking for a PostgreSQL only solution (to throw in the
switch), I think someone already sent a query using oid and a subselect.
It's not going to perform super well probably and will only work on
tables with oids, but it should only update one row.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ericson Smith 2003-09-25 14:49:43 Triggers and COPY
Previous Message Ramkrishna Chakrabarty 2003-09-25 14:44:19 MPI interface