Name Length

From InterBase
Jump to: navigation, search

Go Up to Metadata Names


Metadata names such as table, column, and domain names can be 68 bytes in length: 67 bytes plus a NULL terminator. In earlier versions of InterBase, metadata names were restricted to 32 bytes. Therefore older clients cannot access database objects that have names longer than 32 bytes.

To enable clients to access the longer metadata names, you must set the version field in the XSQLDA structure to SQLDA_CURRENT_VERSION, which is defined in ibase.h. This version is configured to understand the longer names.