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.

920 QUIT Statement 4 Appendix 2QUIT StatementTerminates the procedureValid: in the DBLOAD procedure (control statement)QUIT;DetailsThe QUIT statement terminates the DBLOAD procedure without further processing.RENAME StatementRenames DBMS columnsInteracts with: DELETE, LABEL, RESETRENAME variable-identifier-1 =column-name-1 ;DetailsThe RENAME statement changes the names of the DBMS columns that areassociated with the listed <strong>SAS</strong> variables. If you omit the RENAME statement, allDBMS column names default to the corresponding <strong>SAS</strong> variable names unless youspecify the LABEL statement.The variable-identifier argument can be either the <strong>SAS</strong> variable name or thepositional equivalent from the LIST statement. The positional equivalent is the numberthat represents where to place the variable in the data set. For example, submit thisstatement if you want to rename the column associated with the third <strong>SAS</strong> variable:rename 3=employeename;The column-name argument must be a valid DBMS column name. If the columnname includes lowercase characters, special characters, or national characters, youmust enclose the column name in single or double quotation marks. If no quotationmarks are used, the DBMS column name is created in uppercase. To preserve case, usethis syntax: rename 3=’"employeename"’The RENAME statement enables you to include variables that you have previouslydeleted. For example, suppose you submit these statements:delete 3;rename 3=empname;The DELETE statement drops the third variable. The RENAME statement includesthe third variable and assigns the name EMPNAME and the default column type to it.

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

Saved successfully!

Ooh no, something went wrong!