Maximum length for VARCHAR

The maximum length of the VARCHAR data type depends on:

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