![]() Chapter Contents |
![]() Previous |
![]() Next |
| SAS/ACCESS Software for Relational Databases: Reference |
proc sql;
select tab1.deptno, dname from
mydblib.table1 tab1,
mydblib.table2 tab2
where tab1.deptno=tab2.deptno
using libname mydblib oracle user=testuser
password=testpass path=myserver;
libname mydblib oracle user=testuser password=testpass; proc sql; select tab1.deptno, loc from mydblib.table1 (dbkey=deptno) tab1, sasuser.sasds tab2 where tab1.deptno=tab2.deptno;
See SAS/ACCESS Data Set Options for more information on this data set option.
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.