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