7. Understanding Database Procedures, Sessions, and Events : Database Events : Database Event Statements : How a Database Event Is Received
 
Share this page                  
How a Database Event Is Received
To receive a database event and its associated information, an application must perform two steps:
1. Remove the next database event from the session’s database event queue using GET DBEVENT or, implicitly, using WHENEVER DBEVENT or SET_SQL(DBEVENTHANDLER).
2. Inquire for database event information using INQUIRE_SQL.