Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 15930

sys.dm_exec_sql_text not showing all queries

$
0
0

 i am using sys.dm_exec_sql_text DMV to get the  Query on a Particular Database.But this DMV is not showing every Query.

Example:

if i run the Query ----> select * from Employee ---------- this Query is visable in this DMV

but if i Run this Query(select * from Employee where Empid=100)  this query is not showing in this DMV.

help me to find every query.

Thanks in Advance


Viewing all articles
Browse latest Browse all 15930

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>