|
A simple example, I want to test it, but I can't seem to update the email. I don't know what the problem is?
declare my_cur CURSOR for select email from tbl_user
open my_cur
while @@ fetch_status = 0
begin
update tbl_user set email = 'test' where current of my_cur
fetch next from my_cur
end |
|