Used in place of DBKEY to improve performance when processing a join between two data sources.
| Valid in: | LIBNAME statement |
| Default: | NONE |
| Supports: | DB2 for UNIX and PC, Greenplum, MySQL, ODBC, Oracle, Teradata |
turns off the functionality of the option.
specifies that an IN clause containing the values read from a smaller table will be used to retrieve the matching values in a larger table based on a key column designated in an equi-join.
proc sql;
create view work.v as
select tab2.deptno, tab2.dname from
work.sastable tab1, dblib.table2 tab2
where tab1.deptno = tab2.deptno
using libname dblib fedsvr server="d1234.us.company.com"
port=2171 user=user1 pwd=pass1
dsn=oradsn multi_datasrc_opt=in_clause;
quit;libname dblib fedsvr server="d1234.us.company.com"
port=2171 user=user1 pwd=pass1
dsn=oradsn multi_datasrc_opt=none;
proc sql;
select tab2.deptno, tab2.dname from
work.table1 tab1,
dblib.table2 tab2
where tab1.deptno=tab2.deptno;
quit;