In Sql Server I want To Convert this Value : 20E60E0175D4F44CD6F7947883DDD4D0
( Column Type Is NVARCHAR(MAX) )
To This Value : 0x20E60E0175D4F44CD6F7947883DDD4D0
( Column Type Is Binary(16) )
In Sql Server I want To Convert this Value : 20E60E0175D4F44CD6F7947883DDD4D0
( Column Type Is NVARCHAR(MAX) )
To This Value : 0x20E60E0175D4F44CD6F7947883DDD4D0
( Column Type Is Binary(16) )
You can try like this:
Output:
Note: there is more info about
CONVERT
andstyle = 1
in a context ofbinary
datatype here on MSDN.