SQL Server string to varbinary conversion
问题 Ok, the problem is that there's a merger or join that needs to be done on 2 tables. One has file content stored as an [image] type or varbinary(max), the other has the file content stored as a hex string. if I upload the same content into both tables the content as string (bytearray to string) would look like like this... 'application/vnd.xfdl;content-encoding="base64-gzip" H4sIAAAAAAAAC+y9e1fjONI4/H9/Cg173idwFgIJl+5m6MzPJAayE+KsnXQPs8+cHJMY8HZi57ET aObMh3918UW2Jcdyrmbg7E7HtqpUpSqVSqWSdPHLj