Was this helpful?
RAISE DBEVENT
Valid in: SQL, ESQL, OpenAPI, ODBC, JDBC, .NET
The RAISE DBEVENT statement enables an application to notify other applications of its status. That is, it communicates status information to other sessions that are registered to receive event_name.
For a full description of database events, see Database Events on page 161.
The RAISE DBEVENT statement has the following format:
[EXEC SQL] RAISE DBEVENT [schema.]event_name [event_text]
event_name
Specifies an existing database event name.
event_text
Passes a string (maximum 256 characters) to receiving applications. To obtain the text, receiving applications must use the INQUIRE_SQL(dbeventtext) statement.
Last modified date: 12/14/2023