There is a situation that I believe will be of great importance to me, which is to know the origin of a sql command in SQL SERVER.
Suppose that a user accidentally ran any command. So I need to know who ran the command.
Is there any way to know who was the executor of such a command, the day and time, and other information regarding the command through sql command alone?