Top "Varbinarymax" questions

Variable-length binary data type in Microsoft SQL Server, where 'MAX' indicates that the data may hold up to the maximum storage size of 2^31-1 bytes.

Implicit conversion from data type nvarchar to varbinary(max) is not allowed

I get this exception when I try to insert a DBNull.Value into a nullable varbinary(max) field: Implicit conversion …

sql insert dbnull varbinarymax
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
To convert varbinary(max) to xml format

0x1F8B0800000000000400EDBD07601C499625262F6DCA7B7F4AF54AD7E074A10880601324D8904010ECC188CDE692EC1D69472329AB2A81…

xml sql-server-2005 varbinarymax
How to Store and Retrieve a varbinary(max) Column in SQL Server

I am developing an application in which I want to store the user's fingerprint into the database and then compare …

c# arrays sql-server varbinarymax
Retrieve varbinary(MAX) from SQL Server to byte[] in C#

I'm trying to get a varbinary(MAX) from SQL Server to a byte[] variable in C#. How can I do …

c# sql-server-2008 byte varbinarymax
What does VARBINARY(MAX) mean?

I'm trying to port a MSSQL database over to MariaDB and I've encountered a table creation using varbinary(max): `definition` …

sql mariadb varbinary varbinarymax
How do I insert/retrieve Excel files to varbinary(max) column in SQL Server 2008?

I'm trying to save Excel files into the database, I do not want to use filestream as it is required …

c# .net sql-server-2008 excel-interop varbinarymax
C# Resize jpg image, convert to byte and save into database using varbinary

I'm trying to resize my jpg image uploaded by using FileUpload control and convert it into byte before saving it …

c# sql-server file-upload image-resizing varbinarymax
Uploading files to SQL Server 2012 with ASP.NET/VB.NET

I followed a tutorial an ran the below code without any errors. The file "uploads", however no data is inserted …

asp.net vb.net file-upload sql-server-2012 varbinarymax
How to specify EF byte[] in code first longer than 8000 bytes?

I am using EF 6.1.3. Using code first sets a byte[] property in an entity to max. 8000 bytes. Any attempt to …

entity-framework code-first varbinarymax