https://www.techmixing.com/2015/01/sql-script-to-find-last-executed.html
SQL Script to find the last executed commands on the SQl Server