Top "Varbinary" questions

varbinary is the SQL Server datatype used to hold variable-length binary data

SQL Server converting varbinary to string

I want to do conversion in T-SQL from a varbinary type to string type Here is an example : First I …

sql sql-server string varbinary
Script to save varbinary data to disk

I have some varbinary data stored in a table in MS Sql Server 2005. Does anyone have SQL code that takes …

sql sql-server sql-server-2005 varbinary
What data can be stored in varbinary data type of SQL Server?

I have a table in which the userpassword field have varbinary datatype, So I'm confused that in which form should …

sql sql-server types varbinary
Max real space in a varbinary(max) in SQL Server

I am saving files (any type ) in a SQL table, using a varbinary(max), I find out that the max …

sql-server varbinary
How to update a varbinary field with a specific value?

Basically I am trying to give a user a certain password so I can test some functionality on a system, …

sql sql-server-2008 sql-server-2008-r2 sql-update varbinary
Operand Type Clash

I have a long stored procedure and when I execute the procedure I get the following error: Msg 206, Level 16, State 2, …

sql-server sql-server-2008 tsql varbinary
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 …

sql string type-conversion varbinary
SQL Server 2008 R2 Varbinary Max Size

What is the max size of a file that I can insert using varbinary(max) in SQL Server 2008 R2? I …

sql-server sql-server-2008 sql-server-2008-r2 varbinary varbinarymax
How to compare varbinary in where clause in SQL Server

I want to compare varbinary type with byte array. I have tried so far: DECLARE @data AS NVARCHAR(MAX)='4283…

sql sql-server-2008 comparison bytearray varbinary
Insert byte array into SQL Server from C# and how to retrieve it

I'm trying to insert this byte array into a SQL Server database, the column data type is varbinary and this …

c# asp.net sql sql-server varbinary