Sql-server – module_end extended event enough for stored procedure logging

extended-eventssql serversql-server-2012

Using extended events I plan to capture stored procedure executions particular the time of execution, duration and who executed it.

Is the module_end event enough to capture this data? In a test session I have created I don't see what more the module_start event would provide though would a module_end event occur if a stored procedure execution is terminated?

Best Answer

To answer my own question - when a stored procedure execution is aborted then this is logged as an event, in which case I don't see the need to capture both module_start and module_end events for my purpose.