BookmarkSubscribeRSS Feed
STOJA
Calcite | Level 5
What is the best way to see all my tables in Oracle data base as a sas data sets?

Thanks
2 REPLIES 2
Cynthia_sas
Diamond | Level 26
Hi:
This is not a BASE SAS or Reporting Procedure (PRINT, REPORT, TABULATE) question.

Your best bet for help with this question is to contact SAS Tech Support. To contact Tech Support go to: http://support.sas.com and on the left-hand navigation area, look for the link entitled "Submit a Problem".

cynthia
david2010
Calcite | Level 5
The best way is to use the ORACLE libname statement.

libname oracle_db ORACLE USER='ASB" PASSWORD='123";
RUN;

All the tables should now be accessible.

This will give you the name of all the tables.

proc datasets library=oracle_db;quit;

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1304 views
  • 0 likes
  • 3 in conversation