Master SQL Cursor Attributes. Learn how to use %FOUND, %NOTFOUND, %ISOPEN, and %ROWCOUNT to control logic flow during row processing.