Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- USE BF_CONFIRMING
- GO
- SELECT execquery.last_execution_time AS [DATE TIME], execsql.text AS [Script]FROM sys.dm_exec_query_stats AS execquery
- CROSS APPLY sys.dm_exec_sql_text(execquery.sql_handle) AS execsql
- WHERE execsql.text LIKE '%SP_BUSQUEDA%'
- ORDER BY execquery.last_execution_time DESC
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement