skb 44459
SSCarpal Tunnel
Points: 4768
More actions
September 2, 2021 at 1:34 pm
#3926292
Is there a way to get Last Run Date on a Stored Procedures with parameters values being passed ?
Ant-Green
SSC Guru
Points: 113507
September 2, 2021 at 1:53 pm
#3926298
Last execution time - Yes - look at sys.dm_exec_procedure_stats
Last executed parameters - No - you will need to create extended event sessions to capture that information
September 2, 2021 at 2:20 pm
#3926307
Any idea on how to do that?
Michael L John
One Orange Chip
Points: 27060
September 2, 2021 at 3:38 pm
#3926329
This is a great resource on Extended Events
https://www.sqlservercentral.com/stairways/stairway-to-sql-server-extended-events
Michael L JohnIf you assassinate a DBA, would you pull a trigger?To properly post on a forum:http://www.sqlservercentral.com/articles/61537/
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply