Try reading the documentation on the TSQL varbinary type
] next time.
The field can be defined with a number, from 1 to 8000, or with
, which can be up to 2^31-1 bytes, or 2,147,483,647 bytes.
What you use in your code depends entirely on how the column is defined in your database.