Home Forums Article Discussions Article Discussions by Author Discuss content posted by Gordon Klundt Script Logins RE: Script Logins
Chris Howarth-536003
SSCommitted
Points: 1775
More actions
April 4, 2011 at 6:07 am
#1306926
Just a reminder that in SQL Server 2008 onwards you can use the following to represent a binary value as a character string (rather than a CTE or sp_hexadecimal):
SELECT CONVERT(VARCHAR(12), 0x68656c6c6f, 1)
--0x68656C6C6F
Chris