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.

The DBLOAD Procedure <strong>for</strong> <strong>Relational</strong> <strong>Databases</strong> 4 SQL Statement 921You can list as many variables as you want in one RENAME statement. TheRENAME statement overrides the LABEL statement <strong>for</strong> columns that are renamed.COLUMN is an alias <strong>for</strong> the RENAME statement.RESET StatementResets column names and data types to their default valuesInteracts with:DELETE, LABEL, RENAME, TYPERESET ALL | variable-identifier-1 ;DetailsThe RESET statement resets columns that are associated with the listed <strong>SAS</strong>variables to default values <strong>for</strong> the DBMS column name, column data type, and ability toaccept NULL values. If you specify ALL, all columns are reset to their default values,and any dropped columns are restored with their default values. Here are the defaultvalues.column namedefaults to the <strong>SAS</strong> variable name, or to the <strong>SAS</strong> variable label (if you have usedthe LABEL statement).column typeis generated from the <strong>SAS</strong> variable <strong>for</strong>mat.nullsuses the DBMS default value.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 the variable’s place in the data set. For example, if you want to resetthe column associated with the third <strong>SAS</strong> variable, submit this statement:reset 3;You must use the RESET statement after the LABEL statement <strong>for</strong> the LABELstatement to take effect.SQL StatementSubmits a DBMS-specific SQL statement to the DBMSSQL DBMS-specific-SQL-statement;

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

Saved successfully!

Ooh no, something went wrong!