I want to do something like this:
proc ??
create table tmp as
select
t.*,
o.*
from
teradadata t,
oracle o
;
Well, there is FedSQL:
Never used it myself. What is it your trying to do as that code doesn't seem logical or valid. Why not just pull in both data sources then process, or pull in the smaller and use that in a query to the larger.
the teradata part is GB's.
If you have a common identifier between the two sources, you can simple do a join/merge operation
proc sql;
create table test as
select
a.id,
a.name,
b.age
from table1 as a
left join table 2 as b on (a.id=b.id);
quit;
Refer to: https://communities.sas.com/t5/SAS-Procedures/LEFT-JOIN-in-SAS-using-PROC-SQL/td-p/158240
proc sql;
connect ... to Teradata;
connect ... to oracle;
create table tmp as select * from connection to oracle, Teradata
(
select
t.*,
o.*
from
Teradata t,
oracle o
);
//something like this, DOUBLE connection. Is that possible???
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.