Skip ora-00001 and continue?
Hi,
I need to perform an update on a table like this:
update myTable
set myColumn = ltrim(myColumn, '0'); --trim all leading zeros
I wnat this to perform on every row where it does not conflict with my unique constraint. I do not want to disable the constrataint because then I will end up with dupplicate records.
Is it possible to create a script where the query executes on all rows where it does not conflict with any constrain? ...and simpy skip the confliction-rows?
Thanks!
(Oracle 10g)