Menu

How to Find Recently Executed Queries in SQL Server Database

How to Find Recently Executed Queries in SQL Server Database

In this tutorial we will learn How to Find Recently Executed Queries in SQL Server Database. Below mentioned query will fetch query time and query that has been executed. For this we are using Dynamic Management Views. This is very helpful, when we have to find recently executed queries on database server for auditing purpose.