PL/SQL (MOSC)

MOSC Banner

how to update a timestamp column which has unique constraint on it

edited Nov 18, 2009 2:00PM in PL/SQL (MOSC) 4 commentsAnswered
I have a OEM grid control IOT table which define as follows, I found out there are some future timestamps associcated with some targets, I wanted to change them back to current date, but when I tried to update it  I found out the start_collection_timestamp should be unique, it has bunch of wrong records there, what's the best way (script) for me to update them and don't violate the unique constraint?? I need kind of loop to change each record to make sure the start_collection_timestamp has current date and unique, how can I achieve that, thanks.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center