Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

How do I get the user login information from plan cache?

$
0
0
I need to show Userid, numberofQueries they ran on the day and the averageruntime of the query in seconds...I tried below and it's not working...It just gives me same result...Essentially, i need this on the server level.

If I don't add the login

Viewing all articles
Browse latest Browse all 3145

Trending Articles