How to update 55 thousand rows with different values in single update query?
Hi All,
I need to update the username of the user table with the new username. The new username and the existing username mapping is there in the UserMappings table. I need to update 55 thousand usernames. I have tried with the below query, but its throwing an error as "ORA-25153 : Temporary Tablespace is Empty".
update user u
set u.userName=
(select newUserName from UserMappings where oldUserName = u.userName)
where u.userName in (select oldUserName from UserMappings)
Is there any other approach to update the 55 thousand rows, instead of changing the Temporary tablespace?
Thanks in advance
regards,
Srinivas Medukonduru