BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
David_Billa
Rhodochrosite | Level 12

Is there a way to increase the memory with some SAS Options while creating the temp table in SQL Server database with the following code. There are millions of records in CUSTOMER table and I don't want to see any shortage of memory issue in future.

 

Proc Sql;
                Create table _etltmp."##temp_input_&unique_num."n as 
                    Select * from CUSTOMER;
            quit;
1 ACCEPTED SOLUTION

Accepted Solutions
LinusH
Tourmaline | Level 20

While talking to you SQL Server admins, you can use the terms FILEGROWTH and AUTOGROW.

 

https://docs.microsoft.com/en-us/sql/t-sql/statements/alter-database-transact-sql-file-and-filegroup...

 

Data never sleeps

View solution in original post

4 REPLIES 4
LinusH
Tourmaline | Level 20

Are you referring to SQL Server table space?

I think you configure that on database level, and there's options to have it automatically grow.

I can't see that there should be any memory issues on the SAS side (RAM?)

If you are concerned about disk on SAS side, make sure you have enough space in your saswork location.

Data never sleeps
David_Billa
Rhodochrosite | Level 12

@LinusH yes, I'm referring to SQL Server table space. May I know the Options to SQL Server table space?

LinusH
Tourmaline | Level 20

While talking to you SQL Server admins, you can use the terms FILEGROWTH and AUTOGROW.

 

https://docs.microsoft.com/en-us/sql/t-sql/statements/alter-database-transact-sql-file-and-filegroup...

 

Data never sleeps

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 4 replies
  • 713 views
  • 2 likes
  • 3 in conversation