Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

roll up and cube operators in oracle

Status
Not open for further replies.

cyno

Programmer
Oct 1, 2003
90
US
Hi Folks

Is there any roll up and cube operators in Oracle.Iam new to oracle.Any help would be appreciated.

cyno
 
Cyno,

Since terminology may differ between your familiar environments and Oracle, could you please give examples of what behavior you want Oracle to exhibit for "Rollup" and "Cube" operations?
 
Mufasa
I worked in sql server and iam not getting the expected
results when i use rollup operator in oracle.Here u go

select item,color,sum(qty) as quantity
from ITEMS group by item,color with rollup

can you pls help me out....


cyno
 
Cyno,

I apologise for my lack of intuition on your "...with rollup" example. I am not familiar enough with SQL Server to be aware of the behaviour. Could you please post a simple example of the behaviour you expect from Oracle if it were able to produce same/similar results to SQL Server?

Thanks,

[santa]Mufasa
(aka Dave of Sandy, Utah, USA @ 06:05 (28Mar04) UTC (aka "GMT" and "Zulu"), 23:05 (27Mar04) Mountain Time)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top