Create a Database Event
To create a database event, use the CREATE DBEVENT statement:
CREATE DBEVENT event_name
event_name
Is a unique database event name and a valid object name.
Database events for which appropriate permissions have been granted (RAISE or REGISTER) can be raised by all applications connected to the database, and received by all applications connected to the database and registered to receive the database event.
If a database event is created from within a transaction and the transaction is rolled back, creation of the database event is also rolled back.