RE: How get ROWNUM in DB2

RE: How get ROWNUM in DB2

 

  

thanks

can any body tell me how to change schema of a table in DB2 , means
moving a tables from one schema to others

rgds,
Anil






|---------+--------------------------------------------------------->
| | "Singh Rahul " |
| | <db2udbdba-ezmlmshield-x67198161.[Email Address Removed] | azyDBA.com> |
| | |
| | 03/30/2007 10:51 AM |
| | |
|---------+--------------------------------------------------------->
>-----------------------------------------------------------------------------------------------|
| |
| To: "LazyDBA Discussion" <[Email address protected] |
| cc: (bcc: anil.gupta/Polaris) |
| Subject: RE: How get ROWNUM in DB2 |
>-----------------------------------------------------------------------------------------------|




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




---------------------------------------------------------------------
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




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

DB2 & UDB email list listserv db2-l LazyDBA home page