|
|
Archives of the TeradataForum
Message Posted: Mon, 14 Jan 2002 @ 22:40:51 GMT
Subj: | | SQL Tuning - Spool Space Problem |
|
From: | | Jay Quinn |
Hi, I have created 3 volitile tables, and each has the same common UPI (BAN), but when I try to run this SQL below, I run into a spool
space problem, I have 180GB of spool space. I've tried a variety of things to get aroudn it but it spools out. I know ther eis a better
way to write the SQL for better performance, but I don't know what it should be. Thanks, Jay
select count(distinct(a.ban))
from jq8274.bill_charge a, jq8274.bill_adjustment b, jq8274.tax c
where a.ban = b.ban
and a.ban = c.ban
| |