Community

sys.dm_exec_sql_text

(Louis Davidson) This dynamic management object returns the SQL that was saved when a query was executed. This is a very exciting and useful thing to have, as there are dynamic management views that you will be able to use to get statistics for a query, as well as the full SQL for any actively execu

Read More - Register for Free Membership