Avatar of tristonyip
tristonyip
 asked on

a stored procedure last executed and who executed it

Hi
 how can find out a stored procedure last executed and who executed it from sql sever 2012, thanks
Microsoft SQL ServerWindows Server 2012

Avatar of undefined
Last Comment
Scott Pletcher

8/22/2022 - Mon
SOLUTION
dbaSQL

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
Daniel Jones

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
tristonyip

ASKER
can i find out who executed it or who ran the SP ? thanks
ASKER CERTIFIED SOLUTION
dbaSQL

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Scott Pletcher

SQL does not save which user executed a stored procedure.  It would be way too much overhead.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy