Link to home
Start Free TrialLog in
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
SOLUTION
Avatar of dbaSQL
dbaSQL
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tristonyip
tristonyip

ASKER

can i find out who executed it or who ran the SP ? thanks
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Scott Pletcher
SQL does not save which user executed a stored procedure.  It would be way too much overhead.