set define off
Then, to turn back on, do the opposite as below.
set define on
The world of information technology (IT), from an analyst's perspective.
set define off
Then, to turn back on, do the opposite as below.
set define on




Method 2: Almost similar to Method 1, but using group by key field(s) criteria to delete.
DELETE FROM table_name A
WHERE ROWID > ( SELECT min(ROWID)
FROM table_name B
WHERE A.key_field = B.key_field );
--delete all rows which have smaller ROWIDs than
--the biggest ROWID for given key values
DELETE FROM table_name A
WHERE ROWID > ( SELECT max(ROWID)
FROM table_name B
WHERE A.key_field = B.key_field );
DELETE FROM my_table t1
WHERE ROWID NOT IN ( SELECT min(ROWID)
FROM my_table t2
GROUP BY key_field1, key_field2 );