Skip to content
Advertisement

No more spool space in Database (Teradata)

I am a beginner in SQL and I have a problem with one of my queries on Teradata. When I run it, I get this error:

“No more spool space in Database”.

According to my research on the Internet, the problem would come from the fact that my query is not optimized enough, except that I don’t see how I could simplify it more than that. Could you please help me?

Query where the error comes from:

What the query is supposed to do:

Advertisement

Answer

You don’t want full join for the third component!

Instead you seem to want logic using INSERT . . . SELECT:

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement