Not sure, which Oracle version u r using.... 

If it is 7.3.4.0.0 then it is a bug and this bug is resolved in 7.3.4.0.5

HTH,


-----Original Message-----
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 30, 2002 4:10 PM
To: Multiple recipients of list ORACLE-L


Hi Friends,
        I am having a sql statement where

select field1,field2.. field15, sum(fieldx1), sum(fieldx2).. sum(fieldx200)
from t1
group by field1,field2.. field15;

when i execute this statement , i am getting error - 1467 which says sort
key too long

 Cause Mentioned  in the document : A DISTINCT, GROUP BY, ORDER BY, or SET
operation requires a sort key longer than that supported by Oracle. Either
too many columns or too many group functions were specified in the SELECT
statement. 

Action: Reduce the number of columns or group functions involved in the
operation. 

My question is whether any restrictions on no of columns that can be grouped
is there or is it depend on any space constraint on temporary tablespace..

Thanks in advance,
Shankar
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Sandeep Kurliye
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to