Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Volatile Table Error in SAS

Status
Not open for further replies.

sophie123

Programmer
Nov 2, 2004
10
US
I have code that I know works in queryman. I think transfer it to sas and create a volatile table and then save those rows and put then in a table in sas that I can then manipulate. Problem is when I do this my query never finishes because it runs out of spool space.
Anyone else have this problem
THis is the only code that I added to my SAS program.


proc sql;
Connect to teradata (user='c-sophie' password=XXXXXXXX);
execute
(
create set volatile table ringtones, NO FALLBACK, NO JOURNAL AS

(

(at the top)



) with data
primary index (svc_key)
on commit preserve rows
) by teradata;

execute (commit work) by teradata;
create table playpen.Ringtones as
select * from connection to teradata (
select * from Ringtones
);
quit;
run;

(at the bottom)
 
I am not sure why you need to go through volatile table. You can create a SAS table from teradata table without going through volatile table.

proc sql;
Connect to teradata (user='c-sophie' password=XXXXXXXX);
create table YOURsasTable as
select *
from connection to teradata
(select YOURcolumns
from YOURtaradataTable
Where Whatever
);
quit;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top