Archives of the TeradataForum
Message Posted: Thu, 11 Oct 2012 @ 13:12:06 GMT
I have a table for eg: Employee
Select * from employee work fine.
But if I write query like
Select 1,2,3,4,sum(5),sum(6),sum(7) From employee Group by 1,2,3,4;
Note : 1,2 ...are columns here
Explain plan is very bad and query fails with spool space issue .
How to tackle such issues
|Copyright 2016 - All Rights Reserved|
|Last Modified: 27 Dec 2016|