Hello
I fired a batch of insert commands (using loop) .. 500001 at a time; As the job is running i enabled the SQL Profiler trace and stopped it after 2 minutes. I am seeing sqlcmd showing up against the user account but not actually the INSERT statement which i fired. How to get what statement(s) were getting executed (SELECT/INSERT/UPDATE/DELETE) in a time interval (currently being executed)?
Thanks