Naming Conventions for SAP HANA

For general information, see SAS Names and Support for DBMS Names.

Most SAS names can be up to 32 characters long. The SAP HANA interface supports table names and column names that contain up to 32 characters. If DBMS column names are longer than 32 characters, they are truncated to 32 characters. If truncating a column name would result in identical names, SAS generates a unique name by replacing the last character with a number. DBMS table names must be 32 characters or less. SAS does not truncate a longer name. If you already have a table name that is greater than 32 characters, it is recommended that you create a table view.

The PRESERVE_COL_NAMES= and PRESERVE_TAB_NAMES= options determine how SAS/ACCESS Interface to SAP HANA handles case sensitivity. Although SAP HANA is not case–sensitive, all names are stored in uppercase if you do not enclose them in double quotation marks. These options also control whether you can use an SAP HANA reserved word as an identifier. For more information about these options, see LIBNAME Statement for Relational Databases.

SAP HANA objects include tables, views, synonyms, columns, indexes, functions, procedures, users, roles, and more. To represent names for these objects in the SQL statement, SAP HANA uses delimited identifiers and undelimited identifiers. An undelimited identifier represents an undelimited table or column name.

Follow these naming conventions:

For more information, see your SAP HANA documentation.

Last updated: February 3, 2026