Type: Stored procedure

Raise an event with the corresponding name and namespace multiple times.

This procedure can be used regardless of whether the listener(s) are set to batch mode or not.

If multiple synchronous listeners are listening, RAISERROR will not prevent the rest from running.


@Namespace mandatory varchar(300)
The namespace of the event to raise.
@Name mandatory varchar(300)
The name of the event to raise.


Resultset: #EventArguments

A temporary table used as input to the procedure.
Table count: repeated exactly once
Row count: zero or more rows
Argument mandatory string

Argument passed to the event listeners. Should contain the key to run one event or lookup other values needed for that event. It supports up to 1000 characters to make it easier to use compound keys such as "ParentId;ChildId".

It should not be used to store a list of different Ids, instead raise one event for each Id and use batch listeners to process multiple events at once.