Hello,
I have a question concering update statements and locks.
I executed a statement like that
Code:
update table set field = NVL((select field from othertable as cart where field= othertable.field and ....)," ")
What I got is a mail from our DB Admin, that says that I'm holding 4.798.581 locks and that I should avoid such large transactions because the transaction log will overflow and prevent other statements from being executed.
So my question:
Is there an implicit transaction created? I assumed that there will be one row locked, updated and then released again.
Can please anybody explain what was going on while executing this statement?
Thank you.
Harry