/ Published in: PL/SQL
I can never remember the syntax on the "FOR UPDATE OF" clause!
Expand |
Embed | Plain Text
/* Search query using cursor, then update selected columns in the searched table(s) */ update_count PLS_INTEGER := 0; SELECT zip_code FROM addresses UPDATE addresses update_count := update_count + 1; END;
You need to login to post a comment.
