Try
row_number() over(order by ...) in the select clause
-----Original Message-----
From: anil [mailto:db2udbdba-ezmlmshield-x75423619.[Email address protected]
Sent: Friday, March 30, 2007 10:30 AM
To: LazyDBA Discussion
Subject: How get ROWNUM in DB2
HI
can any body tell me how to get ROWNUM equivalent in DB2
Anil
This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited.
Visit us at http://www.polaris.co.in
---------------------------------------------------------------------
TO REPLY TO EVERBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY
To post a dba job: http://jobs.lazydba.com
To Subscribe : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html
DB2 & UDB email list listserv db2-l LazyDBA home page