@Ronein wrote:
In your code should use Tera language or sas language?
It was already clear which parts are using SAS syntax and which parts are using Teradata syntax.
libname tera teradata server=dwprod schema=DWP_vall authdomain=TeraDataAuth;
proc sql;
connect using tera;
execute by tera
( ... teradata statement here ...
);
create table want as select * from connection to tera
( .. teradata query here ...
);
quit;
The code shown is all SAS code. The parts with the ... elipses ... are where you place the Teradata code.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.