What is the most efficient way to convert the output of this function from varbinary () to varchar ()?
How about this:
master.sys.fn_varbintohexstr(@binvalue)
For SQL Server 2008 use
CONVERT(varchar, @binary, 1)
1 - style 0x060D, 2 - 060D
http://msdn.microsoft.com/en-gb/library/ms187928.aspx
CONVERT (varchar, @binary)
Source: https://habr.com/ru/post/1276756/More articles:Temp Tables and SQL SELECT Performance - performanceStatic libraries with managed code problem - c ++Problems with SQLGetData using native C ++ client and SQL - c ++.NET Introspection VS Reflection - reflectionHow can I transfer my domains from an existing registrar / hosting service to something like GoDaddy? - dnscout prints "-0" instead of "0" - c ++Can you set Visual Studio Smart Indent to not remove tabs in blank lines? - tabsIs it possible to connect to Mac OS X 10.5 Leopard, built into a vnc server, with a low color depth from Windows? - windowsWhat to use, eruby or erb? - ruby | fooobar.comGeneral development notes - code-snippetsAll Articles