Chapter Contents |
Previous |
Next |
SAS/ACCESS Software for Relational Databases: Reference |
To invoke the ACCESS procedure, you use the options described in Options and certain procedure statements. The options and statements that you choose are determined by your task, as summarized in Options and Statements Required for the ACCESS Procedure. These statements vary per DBMS and might be optional; see your DBMS chapter for more information. The new SAS/ACCESS data set options that are described in SAS/ACCESS Data Set Options are available for use with view descriptors, where applicable.
Tasks | Options and Statements You Use | ||||||||
---|---|---|---|---|---|---|---|---|---|
create an access descriptor |
|
||||||||
create an access descriptor and a view descriptor |
|
||||||||
create a view descriptor from an existing access descriptor |
|
||||||||
update an access descriptor |
|
||||||||
update an access descriptor and a view descriptor |
|
||||||||
update an access descriptor and create a view descriptor |
|
||||||||
update a view descriptor from an existing access descriptor |
|
||||||||
create a SAS data set from a view descriptor |
|
To review the contents of an existing view descriptor, you can use the CONTENTS procedure. For an example, see Reviewing Variables.
To review the contents of an access descriptor, you can use the LIST statement in PROC ACCESS. In this Oracle Rdb example, the LIST statement displays all of the variables in the newly created access descriptor, ADLIB.EMPLOY.
/* create access descriptor */ proc access dbms=rdb; create adlib.employ.access; database='qa:[dubois]textile'; table=employees; assign=no; list all;
You can create or update one or more access descriptors and view descriptors in one execution of PROC ACCESS, or you can create or update the descriptors in separate executions.
To create descriptors, the procedure statements must be coded in a particular order. See CREATE for information on this order and for information on database connection and editing statements. The PROC ACCESS statements are described in alphabetic order in the following sections.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.