Questionaries.org
Login
Register
Questions
Unanswered
Tags
Users
Ask a Question
Welcome to Questionaries, where you can ask questions and receive answers from other members of the community.
Let us know at info@questionaries.org
How will you delete duplicating rows from a base table?
8
like
0
dislike
Hello
How will you delete duplicating rows from a base table in oracle?
please reply me. i am waiting for your reply.
Thanx
asked
1 year
ago
by
DBA-boss
(
120,990
points)
sql
oracle
procedures
function
1 Answer
1
like
0
dislike
Best answer
delete from table_name where rowid not in (select max(rowid) from table group by duplicate_values_field_name); or delete duplicate_values_field_name dv from table_name ta where rowid <(select min(rowid) from table_name tb where ta.dv=tb.dv);
answered
1 year
ago
by
eagles11
(
179,830
points)
Related questions
8
like
0
dislike
1
answer
How you will avoid duplicating records in a query?
asked
1 year
ago
by
DBA-boss
(
120,990
points)
oracle
sql
function
procedures
database
5
like
0
dislike
1
answer
Can you pass values to-and-fro from foreign function ?
asked
1 year
ago
by
rad_joshep
(
19,390
points)
to-and-fro
foreign
function
oracle
5
like
0
dislike
1
answer
How can you see all indexes defined for a table?
asked
1 year
ago
by
eagles11
(
179,830
points)
sql
mysql
website
6
like
0
dislike
1
answer
What are the constructs of a procedure, function or a package ?
asked
1 year
ago
by
rad_joshep
(
19,390
points)
constructs
procedure
function
package
oracle
6
like
0
dislike
1
answer
Give the Types of modules in a form?
asked
1 year
ago
by
sr_webmaster
(
21,000
points)
oracle
databases
function