CODE 如下,橘黄色部分
proc sql;
%oracle_conect (ead); /*just a macro to connect to orcle*/
create table test as
Select * from connection to mydb
(
select
a.appn_nmbr,
b.*,
from
application a
,CDE.ACTIVE b
where
a.appn_nmbr = b.appn_nmbr (+)
);
disconnect from mydb;
quit;
谢谢各位。