Solved

ROLLUP & CUBE SQL

Posted on 2006-06-14
5
1,904 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
Comment Utility
I believe ROLLUP was added in V8

-David251
0
 

Author Comment

by:MilburnDrysdale
Comment Utility
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
Comment Utility
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
Comment Utility
that's what I was afraid of...thanks for the info!
0
 
LVL 19

Expert Comment

by:david251
Comment Utility

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

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

744 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now