I'm trying to create an audit log to store all delete commands on some tables, on MSSQL 2012.
What I need is the username that executed it and the command executed, then I can insert them on a log table.
I'm finding many example for creating trigger, but none that shows how to retrieve these info.