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.

The <strong>ACCESS</strong> Procedure <strong>for</strong> <strong>Relational</strong> <strong>Databases</strong> 4 UNIQUE Statement 905Unlike other <strong>ACCESS</strong> procedure statements, the SUBSET statement is casesensitive. The SQL statement is sent to the DBMS exactly as you type it. There<strong>for</strong>e,you must use the correct case <strong>for</strong> any DBMS object names. See <strong>SAS</strong>/<strong>ACCESS</strong>documentation <strong>for</strong> your DBMS <strong>for</strong> details.<strong>SAS</strong> does not check the SUBSET statement <strong>for</strong> errors. The statement is verified onlywhen the view descriptor is used in a <strong>SAS</strong> program.If you specify more than one SUBSET statement per view descriptor, the lastSUBSET overwrites the earlier SUBSETs. To delete the selection criteria, submit aSUBSET statement without any arguments.TABLE= StatementIdentifies the DBMS table on which the access descriptor is basedApplies to: access descriptorTABLE= table-name;table-namea valid DBMS table name. If it contains lowercase characters, special characters, ornational characters, you must enclose it in quotation marks. See <strong>SAS</strong>/<strong>ACCESS</strong>documentation <strong>for</strong> your DBMS <strong>for</strong> details about4 the TABLE= statement.DetailsThis statement is required with the CREATE statement and optional with theUPDATE statement.UNIQUE StatementGenerates <strong>SAS</strong> variable names based on DBMS column namesApplies to: view descriptorInteraction: ASSIGNUNIQUE YES | NO | Y | N;YEScauses the <strong>SAS</strong>/<strong>ACCESS</strong> interface to append numbers to any duplicate <strong>SAS</strong> variablenames, thus making each variable name unique.NOcauses the <strong>SAS</strong>/<strong>ACCESS</strong> interface to continue to allow duplicate <strong>SAS</strong> variable namesto exist. You must resolve these duplicate names be<strong>for</strong>e saving (and thereby creating)the view descriptor.

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

Saved successfully!

Ooh no, something went wrong!