Solved

ROLLUP & CUBE SQL

Posted on 2006-06-14
5
1,909 Views
Last Modified: 2008-02-01
Hello - I stumbled across a reference to the ROLLUP and CUBE function for use in SQL. I applied it to a simple query that I have ("Group by Rollup (abc, xyz)"), but I get the following error;

ROLLUP in *LIBL type *N not found.

Is this a function that's only available on recent releases? I'm not the adminstrator butI think our version is "V5R4" if that makes any sense.

0
Comment
Question by:MilburnDrysdale
  • 3
  • 2
5 Comments
 
LVL 19

Expert Comment

by:david251
ID: 16902364
I believe ROLLUP was added in V8

-David251
0
 

Author Comment

by:MilburnDrysdale
ID: 16902393
david251 - any way that you know of to add it to an earlier version without a complete update?
0
 
LVL 19

Accepted Solution

by:
david251 earned 500 total points
ID: 16902470
sorry, I don't think there is a way.  BTW, I am stuck in the same position as you are.  My company is also on a previous version.

-David251
0
 

Author Comment

by:MilburnDrysdale
ID: 16902527
that's what I was afraid of...thanks for the info!
0
 
LVL 19

Expert Comment

by:david251
ID: 16902750

Glad I could help, I guess.
Thanks for the points/grade.
-David251
0

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

November 2009 Recently, a question came up in the DB2 forum regarding the date format in DB2 UDB for AS/400.  Apparently in UDB LUW (Linux/Unix/Windows), the date format is a system-wide setting, and is not controlled at the session level.  I'm n…
Recursive SQL in UDB/LUW (it really isn't that hard to do) Recursive SQL is most often used to convert columns to rows or rows to columns.  A previous article described the process of converting rows to columns.  This article will build off of th…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question