13.07.2015 Views

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>SAS</strong>/<strong>ACCESS</strong> Interface <strong>for</strong> In<strong>for</strong>mix 4 Character Data 585option sastrace=’,,,d’;For more details about In<strong>for</strong>mix locking, see your In<strong>for</strong>mix documentation.Naming Conventions <strong>for</strong> In<strong>for</strong>mixFor general in<strong>for</strong>mation about this feature, see Chapter 2, “<strong>SAS</strong> Names and Support<strong>for</strong> DBMS Names,” on page 11.The PRESERVE_COL_NAMES= and PRESERVE_TAB_NAMES= LIBNAME optionsdetermine how <strong>SAS</strong>/<strong>ACCESS</strong> Interface to In<strong>for</strong>mix handles case sensitivity, spaces, andspecial characters. For in<strong>for</strong>mation about these options, see “Overview of theLIBNAME Statement <strong>for</strong> <strong>Relational</strong> <strong>Databases</strong>” on page 87.In<strong>for</strong>mix objects include tables and columns. They follow these naming conventions.3 Although table and column names must be from 1 to 32 characters, the limitationon some In<strong>for</strong>mix servers might be lower.3 Table and column names must begin with a letter or an underscore (_) that isfollowed by letters, numbers, or underscores. Special characters are not supported.However, if you enclose a name in quotation marks andPRESERVE_TAB_NAMES=YES (when applicable), it can begin with any character.Because several problems were found in the In<strong>for</strong>mix ODBC driver that result fromusing uppercase or mixed case, In<strong>for</strong>mix encourages users to use lowercase <strong>for</strong> table andcolumn names. In<strong>for</strong>mix currently has no schedule <strong>for</strong> fixing these known problems.Data Types <strong>for</strong> In<strong>for</strong>mixOverviewEvery column in a table has a name and a data type. The data type tells In<strong>for</strong>mixhow much physical storage to set aside <strong>for</strong> the column and the <strong>for</strong>m in which the datais stored. This section includes in<strong>for</strong>mation about In<strong>for</strong>mix data types, null values, anddata conversions.Character DataCHAR(n), NCHAR(n)contains character string data from 1 to 32,767 characters in length and caninclude tabs and spaces.VARCHAR(m,n), NVARCHAR(m,n)contains character string data from 1 to 255 characters in length.TEXTcontains unlimited text data, depending on memory capacity.BYTEcontains binary data of variable length.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!