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 CREATE Statement 897ASSIGN StatementIndicates whether <strong>SAS</strong> variable names and <strong>for</strong>mats are generatedApplies to: access descriptorInteraction: FORMAT, RENAME, RESET, UNIQUEDefault: NOASSIGN YES | NO | Y | N;YESgenerates unique <strong>SAS</strong> variable names from the first eight characters of the DBMScolumn names. If you specify YES, you cannot specify the RENAME, FORMAT,RESET, or UNIQUE statements when you create view descriptors that are based onthe access descriptor.NOlets you modify <strong>SAS</strong> variable names and <strong>for</strong>mats when you create an access descriptorand when you create view descriptors that are based on this access descriptor.DetailsThe ASSIGN statement indicates how <strong>SAS</strong> variable names and <strong>for</strong>mats are assigned:3 <strong>SAS</strong> automatically generates <strong>SAS</strong> variable names.3 You can change <strong>SAS</strong> variable names and <strong>for</strong>mats in the view descriptors that arecreated from the access descriptor.Each time the <strong>SAS</strong>/<strong>ACCESS</strong> interface encounters a CREATE statement to create anaccess descriptor, the ASSIGN statement is reset to the default NO value.When you create an access descriptor, use the RENAME statement to change <strong>SAS</strong>variable names and the FORMAT statement to change <strong>SAS</strong> <strong>for</strong>mats.When you specify YES, <strong>SAS</strong> generates names according to these rules:3 You can change the <strong>SAS</strong> variable names only in the access descriptor.3 <strong>SAS</strong> variable names that are saved in an access descriptor are always used whenview descriptors are created from the access descriptor. You cannot change themin the view descriptors.3 The <strong>ACCESS</strong> procedure allows names only up to eight characters.CREATE StatementCreates a <strong>SAS</strong>/<strong>ACCESS</strong> descriptor fileApplies to:access descriptor or view descriptorCREATE libref.member-name.<strong>ACCESS</strong> | VIEW ;

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

Saved successfully!

Ooh no, something went wrong!