Topic: SQL*Plus and PL/SQL >> deleting of duplicates from a table
|
Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property.
You may review the entire Oracle Certification Program Candidate Agreement online Here.
|
|
|
|
| Title: deleting of duplicates from a table |
| jaggu |
Posted: Feb 19, 2008 12:29:18 AM |
Total Post: 2
Joined: Jan, 2008
|
delete the duplicates from a table so that the table has to contain the column values after deletion such as we get when we use the select distint * from tablename;
thanks in advance
|
|
|
Murtuja |
| Posted: Feb 19, 2008 12:34:11 AM | |
|
Total Post: 857
Joined: Jan, 2006
|
can't you search ???
http://www.google.co.in/search?hl=en&q=delete+the+duplicates+from+a+table+oracle&meta=
|
|
|
|
|
RAJNISH |
| Posted: Jul 18, 2008 08:36:51 AM | |
|
Total Post: 92
Joined: Jan, 2007
|
Hi,
you use this script for delete multiple records.
DELETE EMP
WHERE ROWID NOT IN
(SELECT MAX(ROWID)
FROM EMP
GROUP BY empno)
Thanks,
Rajnish
|
|
|
|
|
| Time Zone: EDT |
Send this thread to your friend |
|
|
|
|
Forum Rules & Description
Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user
|
| |
Get FREE Magazines
|
Top 10 Forum User
|
| Murtuja Khokhar | 857 |
| Mohammed Taj | 746 |
| positive fanatic | 483 |
| Jayanta Sur | 479 |
| Vigyan Kaushik | 386 |
| Vinoth Kumar | 367 |
| Gopu Gopi | 340 |
| Gitesh Trivedi | 322 |
| neeraj sharma | 258 |
| Ramesh Jois | 246 |
|
|