Exforsys

Free Training

How to delete duplicate rows from a table ?

This is a discussion on How to delete duplicate rows from a table ? within the Oracle Database forums, part of the Database category; how to delete duplicate rows from a table with out using rowid?...

Go Back   Exforsys > Database > Oracle Database

Exforsys.com

  #1 (permalink)  
Old 06-18-2008, 12:14 AM
Junior Member
 
Join Date: Jun 2008
Posts: 1
peprasanth is on a distinguished road
How to delete duplicate rows from a table ?

how to delete duplicate rows from a table with out using rowid?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-28-2008, 10:36 AM
Junior Member
 
Join Date: Jun 2008
Posts: 2
urtechguru is on a distinguished road
Thumbs up delete duplicates rows from table

u can use WHERE statement to remove duplicate rows
as:
delete from employees
where department_id =30;
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-28-2008, 10:41 AM
Junior Member
 
Join Date: Jun 2008
Posts: 2
urtechguru is on a distinguished road
How to delete duplicate rows from a table ?

u can use where statement to delete duplicate rows.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-14-2009, 03:35 AM
Junior Member
 
Join Date: May 2009
Posts: 1
zamu84 is on a distinguished road
Smile removing the duplicate row

Hi u can delete the duplicate rows by using the function rowid
it shows unique id for each row, so that user can delete it very easily.


Thanks & Regards

Zamu
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 05-27-2009, 01:31 PM
Junior Member
 
Join Date: May 2009
Posts: 3
shadyfos is on a distinguished road
How to delete multiple rows from a table

Delete from table
where department_id = 30
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 05-27-2009, 01:32 PM
Junior Member
 
Join Date: May 2009
Posts: 3
shadyfos is on a distinguished road
Delete from employees
where department_id = 30
order by department_id
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 05-27-2009, 01:34 PM
Junior Member
 
Join Date: May 2009
Posts: 3
shadyfos is on a distinguished road
You use the where clause to specify rows to be deleted
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
General Ledger – Technical dongta_ndh Oracle Apps 1 09-10-2009 07:34 AM
delete the duplicate sandeeppradhan SQL Server 2 04-23-2008 05:23 AM
duplicate rows bobby21 SQL Server 2005 Tutorials 5 04-22-2008 02:47 AM
How to delete duplicate rows from a table athermaliq Oracle Tutorials 5 01-17-2006 01:03 AM
[FAQ] FileMaker Pro - database for Macintosh and Windows Martin Trautmann Tech FAQ 0 04-17-2004 08:26 AM


All times are GMT -4. The time now is 12:48 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
Copyright 2004 - 2009 Exforsys Inc. All rights reserved.