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 to Sybase 4 Overview 7553 Updates using the LIBNAME statement with UPDATE_LOCK_TYPE=PAGE. Notethat this is the default setting <strong>for</strong> this option.3 Updates using PROC SQL views.3 Updates using PROC <strong>ACCESS</strong> view descriptors.Naming Conventions <strong>for</strong> SybaseFor 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.Sybase database objects include tables, views, columns, indexes, and databaseprocedures. They follow these naming conventions.3 A name must be from 1 to 30 characters long—or 28 characters, if you enclose thename in quotation marks.3 A name must begin with an alphabetic character (A to Z) or an underscore (_)unless you enclose the name in quotation marks.3 After the first character, a name can contain letters (A to Z) in uppercase orlowercase, numbers from 0 to 9, underscore (_), dollar sign ($), pound sign (#), atsign (@), yen sign (¥), and monetary pound sign (£).3 Embedded spaces are not allowed unless you enclose the name in quotation marks.3 Embedded quotation marks are not allowed.3 Case sensitivity is set when a server is installed. By default, the names ofdatabase objects are case sensitive. For example, the names CUSTOMER andcustomer are different on a case-sensitive server.3 A name cannot be a Sybase reserved word unless the name is enclosed in quotationmarks. See your Sybase documentation <strong>for</strong> more in<strong>for</strong>mation about reserved words.3 Database names must be unique. For each owner within a database, names ofdatabase objects must be unique. Column names and index names must be uniquewithin a table.By default, Sybase does not enclose column names and table names in quotationsmarks. To enclose these in quotation marks, you must use theQUOTED_IDENTIFIER= LIBNAME option when you assign a libref.When you use the DATASETS procedure to list your Sybase tables, the table namesappear exactly as they exist in the Sybase data dictionary. If you specified theSCHEMA= LIBNAME option, <strong>SAS</strong>/<strong>ACCESS</strong> lists the tables <strong>for</strong> the specified schemauser name.To reference a table or other named object that you own, or <strong>for</strong> the specified schema,use the table name—<strong>for</strong> example, CUSTOMERS. If you use the DBLINK= LIBNAMEoption, all references to the libref refer to the specified database.Data Types <strong>for</strong> SybaseOverviewEvery column in a table has a name and a data type. The data type indicates to theDBMS how much physical storage to reserve <strong>for</strong> the column and the <strong>for</strong>mat in which the

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

Saved successfully!

Ooh no, something went wrong!