BookmarkSubscribeRSS Feed
HimaAalamuri
Fluorite | Level 6

Hi all,

i have one doubt, within single block of sql -  how many tables we can create?

Best Regards,

Hima

2 REPLIES 2
jakarman
Barite | Level 11

try to reach the limit.

---->-- ja karman --<-----
RW9
Diamond | Level 26 RW9
Diamond | Level 26

Well, I could be wrong here as haven't pushed the boundaries, but from memory you can put many sql create table statements (just tested creating 500 tables no probs), into one SQL step.  Couldn't get a limit there.  However I have run into difficulties when combining - e.g. merging/using as lookup, lots of tables - i.e. > 20 in one sql step.  (So select * from A left join B left join C etc.).  So yes, just test it (and if you hit a boundary ask yourself are you coding it in the best way). 

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

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 1029 views
  • 0 likes
  • 3 in conversation