Maximum length for VARBINARY

The maximum length of the VARBINARY data type depends on:

  • The number of columns in a table — More columns in a table further limits the length of VARBINARY data.
  • When a table was created — Tables created earlier can support longer VARBINARY data than tables created later.