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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>SAS</strong>/<strong>ACCESS</strong> Interface to Oracle 4 Character Data 729Naming Conventions <strong>for</strong> OracleFor 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 Oracle 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.You can name such Oracle objects as tables, views, columns, and indexes. For theOracle 7 Server, objects also include database triggers, procedures, and storedfunctions. They follow these naming conventions.3 A name must be from 1 to 30 characters long. Database names are limited to 8characters, and link names are limited to 128 characters.3 A name must begin with a letter. However, if you enclose the name in doublequotation marks, it can begin with any character.3 A name can contain the letters A through Z, the digits 0 through 9, the underscore(_), $, and #. If the name appears within double quotation marks, it can containany characters, except double quotation marks.3 Names are not case sensitive. For example, CUSTOMER and Customer are the same.However, if you enclose an object names in double quotation marks, it is casesensitive.3 A name cannot be an Oracle reserved word.3 A name cannot be the same as another Oracle object in the same schema.Data Types <strong>for</strong> OracleOverviewEvery column in a table has a name and a data type. The data type tells Oracle howmuch physical storage to set aside <strong>for</strong> the column and the <strong>for</strong>m in which the data isstored. This section includes in<strong>for</strong>mation about Oracle data types, null and defaultvalues, and data conversions.For more detailed in<strong>for</strong>mation about Oracle data types, see the Oracle Database SQL<strong>Reference</strong>.<strong>SAS</strong>/<strong>ACCESS</strong> Interface to Oracle does not support Oracle MLSLABEL and ROWIDdata types.Character DataCHAR (n)contains fixed-length character string data with a length of n, where n must be atleast 1 and cannot exceed 255 characters. (The limit is 2,000 characters with anOracle8 Server.) The Oracle 7 Server CHAR data type is not equivalent to theOracle Version 6 CHAR data type. The Oracle 7 Server CHAR data type is newwith the Oracle 7 Server and uses blank-padded comparison semantics.

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

Saved successfully!

Ooh no, something went wrong!