If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Cognos SQL, unable to convert to Native SQL

Started by cognosun, 15 Oct 2017 04:22:23 AM

Previous topic - Next topic

cognosun


Gurus,

Can anyone help me how to convert (roughly) this Cognos SQL to Oracle SQL, which is written for one derived column.

SUM(MAX(COLUMN A for COLUMN  B) at COLUMN B) / COUNT ( COLUMN B at COLUMN B)
-------------

I need native SQL for the same, but with above expression, it's splitting Column B as seperate column, and sum() function is taking away decimals from the output.

Many Thanks in Advance
Joys

Invisi

I don't know where you get this Cognos SQL from, but doesn't Cognos allow you to see the actual SQL sent to the database in Report Studio? Use that option?
Few can be done on Cognos | RTFM for those who ask basic questions...