Find executed store procedure.
How do find last one week executed store procedures in sql server? My server is slow when run my application so it will be store procedure problem.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rafnas T PPosted Feb 13, 2017, 12:34 AM
use [DatabaseName]
WHERE type = 'P'
AND DATEDIFF(D,create_date, GETDATE()) < 7
FROM sys.objects
WHERE type = 'P'
Vikrant MorePosted Jan 26, 2017, 4:38 PM
Nitin SontakkePosted Jan 23, 2017, 5:13 AM