Available in versions: Dev (3.21) | Latest (3.20) | 3.19 | 3.18 | 3.17 | 3.16 | 3.15 | 3.14 | 3.13 | 3.12 | 3.11

This documentation is for the unreleased development version of jOOQ. Click on the above version links to get this documentation for a supported version of jOOQ.

Data type length

Supported by ✅ Open Source Edition   ✅ Express Edition   ✅ Professional Edition   ✅ Enterprise Edition

The data type length allows for specifying the length of character or binary data types, such as:

  • VARCHAR(20) is a VARCHAR typed string of 20 characters or bytes, depending on the RDBMS, collation, and character set
  • VARBINARY(20) is a VARBINARY typed binary value of 20 bytes

Feedback

Do you have any feedback about this page? We'd love to hear it!

The jOOQ Logo