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). 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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