BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi

I have about 75 sql tables to merge together but some are not visible in SAS due to their length.
So i have written a simple sql statement to create a new table merging them all.
Is there a way of either running that script within SAS, or any other way of doing it?

Thanks

Simon
3 REPLIES 3
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Your computing OS and environment is unspecified. Consider the info in the SUGI/SGF paper below, on SAS/Connect, for remote or batch-script processing using SAS.

Scott Barry
SBBWorks, Inc.

http://www2.sas.com/proceedings/forum2007/241-2007.pdf
LinusH
Tourmaline | Level 20
My guess is that your data is stpored in an external RDBMS. To do this from SAS I would consider SQL pass-thru. See on-line doc for details on your RDBMS.

//Linus
Data never sleeps
deleted_user
Not applicable
Hi

Im running SAS v9.1.3 on Windows.
the sql statement i wrote was in mySQL.
so this statement will not run in SAS due to table lengths.

thanks

CFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

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