From: John Pauley <karstdiver@yahoo.com>
To: pgsql-sql@postgresql.org
Subject: DB2 to Postgresql conversion help.
Date: Mon, 23 Dec 2002 08:32:01 -0800 (PST)
Message-ID: <20021223163201.37261.qmail@web13406.mail.yahoo.com> (raw)
All, Any suggestions on a Postgresql equivalent to
the following DB2 sql query:
SELECT * FROM (SELECT
ID,NAME,CITY,STATE,PROGRAM,CUST_NAME,CUST_ID,ROWNUMBER()
OVER (ORDER BY ID ASC) AS RN FROM
MERCHANT_BROWSER_VIEW WHERE CUST_ID = 'A51B8CA2' ) AS
RESULT WHERE RN BETWEEN 1 AND 20
TIA, Happy Holidays,
jp
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
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: karstdiver@yahoo.com
Subject: Re: DB2 to Postgresql conversion help.
In-Reply-To: <20021223163201.37261.qmail@web13406.mail.yahoo.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