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.

910 Example 2: Create a View Descriptor 4 Appendix 1Example 2: Create a View DescriptorThe following example re-creates a view descriptor, VLIB.EMP1204, which is basedon an access descriptor, ADLIB.EMPLOY, which was previously updated.proc access dbms=oracle;/* re-create view descriptor */create vlib.emp1204.view;select empid hiredate dept jobcode genderlastname firstname middlename phone;<strong>for</strong>mat empid 6.jobcode 5.hiredate datetime9.;subset where jobcode=1204;run;Because SELECT and RESET are not supported when UPDATE is used, the viewdescriptor Vlib.Emp1204 must be re-created to omit the Salary and BirthDate columns.

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

Saved successfully!

Ooh no, something went wrong!