r/SQL • • 18d ago

Oracle SQL with SAS

Is it the norm to have a program that is coded in SAS and then need SQL to store the the data? The need SQL tools to pull information about out the tables then swap back to SAS to pull lots of data out quickly? New analyst at a new job and it is exhausting

4 Upvotes

20 comments sorted by

View all comments

Show parent comment

1

u/AdEnvironmental7198 17d ago

Awesome I'll giv3 it a go tomorrow.

Would this make a different pivot table then I already can access? For reasons it doesn't always have all the data imported into SQL.

1

u/Dangerous_Cup3607 17d ago

Not sure what you meant but in SAS you can do a proc transpose as well. After all I just assume that your end product would be an excel report, where SAS can handle the export raw finalized data into replacing a data tab, say “summarydata”, but leaving other tabs intact. Such that your excel is more of a dashboard view of daily, weekly, monthly, yearly, then summarydata, where all the tabs are referencing the summarydata. So the report is somewhat automated and you dont have to do anything in excel other than validate and send.

1

u/AdEnvironmental7198 15d ago

Does this work if the SAS is on remote desktop while working with SQL on the native windows?

2

u/Dangerous_Cup3607 15d ago

I believe SAS functionality is only limited by the version and enablement of it by SAS admin such as having SAS EG, Studio, Management Console, and also proc setinit. So whether you are using VDI, local SAS, SAS Grid , or Citrix should not prevent you from using the available functionalities. SAS-Oracle passthru is just a syntax in lieu of libname. But EG, Grid, Parallel Extracts, SAS code scheduling etc are enabled by the admin.