• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1918
  • Last Modified:

ROLLUP & CUBE SQL

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
MilburnDrysdale
Asked:
MilburnDrysdale
  • 3
  • 2
1 Solution
 
david251Commented:
I believe ROLLUP was added in V8

-David251
0
 
MilburnDrysdaleAuthor Commented:
david251 - any way that you know of to add it to an earlier version without a complete update?
0
 
david251Commented:
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
 
MilburnDrysdaleAuthor Commented:
that's what I was afraid of...thanks for the info!
0
 
david251Commented:

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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now