I was trying to bulk update one field in a table that contains 200million records. The table is indexed by this field and all I am trying to do is trim the spaces off of both sides of the containing data. To no avail the process was running for 20 hours and I had to stop it cause other system operations were failing due to table locking.
Now, I am waiting for the rollback to finish. Is there anyway to stop the rollback. And does anyone have better insight on how to do a bulk update that requires trimming spaces out of data in a more efficient way.
This was my current SQL.
update duf
set billtonumber = ltrim(rtrim(billtonumber))
Thanks in advance,
Bygs
Now, I am waiting for the rollback to finish. Is there anyway to stop the rollback. And does anyone have better insight on how to do a bulk update that requires trimming spaces out of data in a more efficient way.
This was my current SQL.
update duf
set billtonumber = ltrim(rtrim(billtonumber))
Thanks in advance,
Bygs