pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: jdassen@cistron.nl
To: pgsql-sql@postgresql.org
Subject: Re: Newbie ex-Oracle person's question: Oracle ROWID = PSQL OID, Orac   le ROWNUM = PSQL ???
Date: Fri, 11 May 2001 15:29:39 +0000 (UTC)
Message-ID: <slrn9fo1b3.iuj.jdassen@odin.cistron-office.nl> (raw)
References: <AAF7CC40BD87F347A2A8BD72F9D5514361EE3B@csoff2exc01.callserve.com>

Robert Beer <Robert.Beer@Callserve.com> wrote:
> Oracle has a ROWNUM pseudo column that works like this ...
> TEST>select callid, rownum from cs_calls where rownum < 5;

> Is there something like this in PSQL?

SELECT callid FROM cs_calls LIMIT 4;

HTH,
Ray
-- 
Give a man a fire, he's warm for a day.  Set a man on fire, he's warm for
the rest of his life.




view thread (3+ messages)

Message-ID: <slrn9fo1b3.iuj.jdassen@odin.cistron-office.nl>
Permalink:  ../slrn9fo1b3.iuj.jdassen@odin.cistron-office.nl/
Also on:    postgresql.org/message-id/slrn9fo1b3.iuj.jdassen@odin.cistron-office.nl

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: jdassen@cistron.nl
  Subject: Re: Newbie ex-Oracle person's question: Oracle ROWID = PSQL OID, Orac   le ROWNUM = PSQL ???
  In-Reply-To: <slrn9fo1b3.iuj.jdassen@odin.cistron-office.nl>
  References: <AAF7CC40BD87F347A2A8BD72F9D5514361EE3B@csoff2exc01.callserve.com> <slrn9fo1b3.iuj.jdassen@odin.cistron-office.nl>

* 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