• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1925
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

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