Write an SQL Query to
Delete Duplicate records from a table using ROWID.
Answers were Sorted based on User's Feedback
Answer / koti
Ganesh ,You are right very good.
delete from emp t
where rowid != ( select min(rowid)
from empno
where empno = t.empno );
---------And other answers are not right .
| Is This Answer Correct ? | 15 Yes | 16 No |
Answer / madhuapps
delete from t1 tl
where tl.rowid >
( select min(tl2.rowID) from t1 tl2
where tl.col1 = tl2.col1
and tl.col2 = tl2.col2)
| Is This Answer Correct ? | 25 Yes | 31 No |
Answer / satyan
simple query
step 1
select rowid,column1,column2,column3 from table name where
condition;
step 2
delete from table name where rowid = '........'
| Is This Answer Correct ? | 4 Yes | 11 No |
Answer / ganesh
delete from emp t
where rowid != ( select min(rowid)
from empno
where empno = t.empno );
| Is This Answer Correct ? | 14 Yes | 24 No |
What is a value set? List its various types.
In one flat file i got headers and lines data how you can write control file now ?
In sequence i want to 11 and 15th values how we will write?
How can a process be deployed in soa?
How can u call a standard interface program from sql or pl/sql code?
is UOM maintained at master level or organization level or both?
What is REF Cursor?
19 Answers Infosys, Intelligroup,
Give a overview on Aol
hi all.i am in need of some sample codes for oracle apps manufacturing interfaces.If any of u have,plz send it to me . Thank you.
mention the interface tables for item open interface and open transaction interface and also their respective production tables.
What is Value Set?
How to know the number of invoices generated for one PO from front end (navigation)?