Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Duplicate recs

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
Author Message
sunojsm
Warnings : 1

New User


Joined: 21 Jun 2004
Posts: 48
Location: Heaven

PostPosted: Wed Feb 16, 2005 11:51 pm    Post subject: Duplicate recs
Reply with quote

In a table there are many duplicate records.I want to delete the duplicate records.i need one copy of records in that duplicate records.
Back to top
View user's profile Send private message
References
badal
Currently Banned

New User


Joined: 05 Sep 2004
Posts: 21

PostPosted: Fri Feb 18, 2005 8:59 pm    Post subject:
Reply with quote

hai,
I think, some one had asked this question earlier.its very simple ,
just use the row-number() function in UDB.
then u can delete the records but one copy will be there.
hope u will find out the sql for row-number.
thanks.
anjan.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1