How to get transaction command text from SQL server Log file
This isn't logged anywhere (by default). You can investigate the &quot;server audit&quot; functionality and see if that gives you what you want.