I'm trying to build a small tool in Powershell to select some data. One of the things I would like to get out is the query_hash
, but when I do this with Powershell its not returning the same value as in SQL Management Studio.
In SQL Management Studio it shows like 0xFFCEA347FBFC247D7
but Powershell shows it like this {50, 123, 144, 118...}
Anybody who can tell me what I'm doing wrong?