Oracle cursor for updating every row in same table

19-Jun-2020 16:42

It may not be the best way to work with a set of data, but if you need to loop row by agonizing row (RBAR) in a T-SQL script then a cursor is one way of doing it.

PUT_LINE( emp_first_name