Write an SQL Query to
Delete Duplicate records from a table using ROWID.

Answer Posted / rajesh

Delete from table_name where ROWID not in ( select
max(rowid) from table group by duplicate_values_field_name);

Regards
Rajesh...


If any queries..then fwd ...baburajeshd@gmail.com

Is This Answer Correct ?    91 Yes 39 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you understand by concurrent programs?

826


How to create a purchase order without a requisition?

875


How can we import the data into a database using sql * loader?

922


Which oracle apps version you are very confident in?

957


What is oracle soa suite and what are its different components?

918


A program must be written which accepts date parameter. The date parameter will accept data in the format DD/MM/YYYY. This data has to be validated and post validation, the following details have to be displayed for this date parameter 1. Input date must be defaulted to sysdate, It can be overridden by any other date. 2. Financial year should be displayed for this date parameter. Eg: If the input date is 30/11/2010, the financial year must be displayed as 1. From Date : 01-Aprr-2010 To Date: 31-Mar-2011 3. Calendar year and Calendar month must also be displayed. 4. The next payment cycle (say for EB), must be displayed based on this date parameter. 5. The previous payment must also be displayed based on this date.

1971


If we have a repeated record in a table. But the repeated record how i can transfer from table to nested table?

1875


can we get profile values in report without using user exists is it possible how?

2581


how can i print random rows in plsql table

2164


how do you describe O2C along with tables

2542


Hi, Anybody please send me the Oracle APPS 1i technical interview questions (Real time) as wel as sample resume also?

2397


Plz anybody send me Technical specification for AP Interface

2314


What do you understand by soa?

929


What do you understand by soa and what are the benefits of using this architecture?

843


Can we create tables in apps schema?

879