Cursors within dynamic SQL

A cursor within dynamic SQL comes in two forms from the client:

Each of these generates a different type of event notification; SRV_CURSOR, and SRV_DYNAMIC respectively.