Using MSSMS, I am trying to execute a request.
SELECT CONVERT(BINARY(16), 14437)
This leads to:
0x00000000000000000000000000003865
But this is what I am looking for:
0x65380000000000000000000000000000
I tried using the opposite, but no luck.
SELECT REVERSE(CONVERT(BINARY(16), 14437))
madziikoy
source share