Since SAS 7, most SAS
names can be up to 32 characters long.
SAS/ACCESS Interface to Netezza
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 because
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 Netezza handles case sensitivity. (For information about these
options, see
Overview: LIBNAME Statement for Relational Databases .) Netezza is not case sensitive, and all names default
to lowercase.
Netezza objects include
tables, views, and columns. Follow these naming conventions:
-
A name must be from 1 to 128 characters
long.
-
A name must begin with a letter
(A through Z), diacritic marks, or non-Latin characters (200-377 octal).
-
A name cannot begin with an underscore
(_). Leading underscores are reserved for system objects.
-
Names are not case sensitive. For
example,
CUSTOMER
and
Customer
are
the same, but object names are converted to lowercase when they are
stored in the Netezza database. However, if you enclose a name in
quotation marks, it is case sensitive.
-
A name cannot be a Netezza reserved
word, such as WHERE or VIEW.
-
A name cannot be the same as another
Netezza object that has the same type.
For more information,
see your
Netezza Database User's Guide.