pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jomon Skariah <jomons@aztec.soft.net>
To: Kris Jurka <books@ejurka.com>
To: Rod Taylor <rbt@rbt.ca>
Cc: pgsql-sql@postgresql.org
Subject: Re: MINUS & ROWNUM in PostGres
Date: Mon, 8 Sep 2003 19:14:58 +0530
Message-ID: <F83B457BE363174B8233DE042A1445705F6DA2@maya.aztec.soft.net> (raw)



Hi,

Do we have any replacement for REPLACE() of Oracle in PostGres?

I know we can function to do same job.


Regards

Jomon



-----Original Message-----
From: Kris Jurka [mailto:books@ejurka.com]
Sent: Monday, September 08, 2003 1:52 PM
To: Rod Taylor
Cc: Jomon Skariah; pgsql-sql@postgresql.org
Subject: Re: [SQL] MINUS & ROWNUM in PostGres




On Thu, 4 Sep 2003, Rod Taylor wrote:

> > 2	Also I need to find an alternative for ROWNUM in oracle..
>
> If you are looking for a unique identifier, try using the OID.
>

ROWID is oracle's unique identifier, ROWNUM is the row number in a query
result.  In the past it has been suggested that ROWNUM could be replaced
by the nextval of a temporary sequence.

Kris Jurka



view thread (8+ messages)  latest in thread

Message-ID: <F83B457BE363174B8233DE042A1445705F6DA2@maya.aztec.soft.net>
Permalink:  ../F83B457BE363174B8233DE042A1445705F6DA2@maya.aztec.soft.net/
Also on:    postgresql.org/message-id/F83B457BE363174B8233DE042A1445705F6DA2@maya.aztec.soft.net

 · 

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-sql@postgresql.org
  Cc: jomons@aztec.soft.net, books@ejurka.com, rbt@rbt.ca
  Subject: Re: MINUS & ROWNUM in PostGres
  In-Reply-To: <F83B457BE363174B8233DE042A1445705F6DA2@maya.aztec.soft.net>

* 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