![]() |
|
Archives of the TeradataForumMessage Posted: Thu, 11 Oct 2012 @ 13:12:06 GMT
Hi 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 Mahesh Kothari
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||