Comments
3 comments
-
Ah, just remembered that sql server ALSO encodes sqltext; the solution is to use the same sys dynamic function that you would use to get the sqltext from sql server's own repository namely: sys.dm_exec_sql_text
-
I've been looking at this again; the data sizes for the sql text strongly indicate that the sql text has been compressed, has anyone come across a way to decompress the data?
-
@Nick1611 Did you manage to get the human readable text ? I have got exactly the same dilemma ?
Thanks
Add comment
Please sign in to leave a comment.
data.Cluster_SqlServer_TopQueries_Instances_View.Cluster_SqlServer_TopQueries_QueryText or
data.Cluster_SqlServer_SqlText_Instances.[_SqlText] or
data.Cluster_SqlServer_TopQueries_Instances.[_QueryText]
Naturally I have tried several CONVERTs and DECOMPRESSing, but nothing seems to work.