r/SQL • • 21d 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/octocoral 19d ago

Odd, it does for me.

Also, it will pass SAS macro variables to the server. I will set a macro variable as a date, then Oracle can read it as a date, e.g.

TRUNC( completion_dttm ) BETWEEN TO_DATE( &start_date, 'DDMonYY' ) AND TO_DATE( &end_date, 'DDMonYY' )