sa_procedure_profile system procedure

Reports information about the execution time for each line within procedures, functions, events, or triggers that have been executed in a database.

 Syntax
 Arguments
 Result set
 Remarks
 Permissions
 Side effects
 See also
 Example