Advantage SQL Engine
This procedure allows a client to create an event of the given name. Once it has created the event, a client will start receiving notifications whenever that event is signaled whether or not the client is actively waiting for the event or not. If the client is not actively waiting, the event will be saved by the server until the client application waits for the event.
Each connection that is interested in a specific event must call sp_CreateEvent. When an event of a given name is signaled, the event notification will be sent to all connections that have called sp_CreateEvent for that event name.
sp_CreateEvent(
EventName, CiCharacter, 200,
Options, integer
);
EventName (I) |
Name of the event to register. |
Options (I) |
Options, reserved for future use, pass the value 0 for this parameter. |
EXECUTE PROCEDURE sp_CreateEvent( ‘my_event’, 0 );