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 <strong>ACCESS</strong> Procedure <strong>for</strong> <strong>Relational</strong> <strong>Databases</strong> 4 FORMAT Statement 899DROP StatementDrops a column so that it cannot be selected in a view descriptorApplies to:Interaction:access and view descriptorsRESET, SELECTDROP column-identifier-1 ;column-identifierspecifies the column name or the positional equivalent from the LIST statement,which is the number that represents the column’s place in the access descriptor. Forexample, to drop the third and fifth columns, submit this statement:drop 3 5;DetailsThe DROP statement drops the specified column(s) from a descriptor. You can drop acolumn when creating or updating an access descriptor; you can also drop a columnwhen updating a view descriptor. If you drop a column when creating an accessdescriptor, you cannot select that column when creating a view descriptor that is basedon the access descriptor. The underlying DBMS table is unaffected by this statement.To display a column that was previously dropped, specify that column name in theRESET statement. However, doing so also resets all column attributes—such as the<strong>SAS</strong> variable name and <strong>for</strong>mat—to their default values.FORMAT StatementChanges a <strong>SAS</strong> <strong>for</strong>mat <strong>for</strong> a DBMS columnApplies to:Interaction:access descriptor or view descriptorASSIGN, DROP, RESETFORMAT column-identifier-1 <strong>SAS</strong>-<strong>for</strong>mat-name-1;column-identifierspecifies the column name or the positional equivalent from the LIST statement,which is the number that represents the column’s place in the access descriptor. Ifthe column name contains lowercase characters, special characters, or nationalcharacters, enclose the name in quotation marks.<strong>SAS</strong>-<strong>for</strong>mat-namespecifies the <strong>SAS</strong> <strong>for</strong>mat to be used.

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

Saved successfully!

Ooh no, something went wrong!