DB2 to Postgresql conversion help.

From: John Pauley <karstdiver(at)yahoo(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: DB2 to Postgresql conversion help.
Date: 2002-12-23 16:32:01
Message-ID: 20021223163201.37261.qmail@web13406.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Joe Conway 2002-12-23 17:13:45 Re: DB2 to Postgresql conversion help.
Previous Message Achilleus Mantzios 2002-12-23 15:09:51 Re: save data from views