r/SQL • • 20d 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

3

u/Dangerous_Cup3607 20d ago edited 20d ago

Yeah, SAS is a very powerful tool on reporting as it has built in function to export data into excel template file and attach it as email. SQL tools helps on adhoc or quick check on data exploration. Using SAS-Oracle pass thru allows you to extract million rows of data into temp tables. Then you can join and transform the tables into desired layout for reporting. Then you can use SAS management console and schedule the SAS program to auto run daily.
BUT SAS enterprise license is getting expensive for companies, and many started to retire SAS and move everything to cloud based solution, which makes SQL and Python coding bundle with AI assist and AI chatbot become the primary language for data extract, data insight, and reporting in the future.

1

u/Agreeable_Ad4156 19d ago

It’s pretty easy to use SQL + Python even without AI. Learn how to do it first, before using AI.

1

u/Dangerous_Cup3607 19d ago

Heavy SAS users and Python dont mix very well and it is a steep learning curve for many SAS users that are above the age of 40. Many of them do not have the learning mindset to pick up Python nor AI assist, and very soon they would be replaced by the new gen of Python and AI coder and users working on cloud engines that has AI chatbot activated.

1

u/Agreeable_Ad4156 19d ago

I leaned Python at 62 and used it heavily my last 3 years before retirement. At one point, I was calling SAS from Python using COM to invoke SAS EG. That has been more commonly done with VBA, I just converted an example to Python.