Hi,
please help me to understande below piece of code.
1. proc datasets lib = out nolist;
delete &PgmPrefix._Table1_new;
delete &PgmPrefix._Table2_new;
Run;
2.create table &PassThroughTableName. AS
select * from CONNECTION to SQLServerDatabase
Thank You
The first segment deletes datasets from library "out". The macro variable "pgmprefix" holds the prefix for the dataset names.
The second is obviously part of a proc sql; it creates a SAS table from a connection to an external RDBMS (the necessary specifics for the remote table are missing).
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!
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.