In a single calculation it would look like:
Time: Number-To-String-Padded(Round-Down([T_LOGIN]/3600),2)+":"+Number-To-String-Padded(Round-Down(([T_LOGIN]-(Round-Down([T_LOGIN]/3600) * 3600))/60,0),2)+":"+Number-To-String-Padded(Mod([T_LOGIN],60),2)
we were using the concat construct from djknuddel but until MR2 there is no possibility to use this. All our reports aren't runable so we had to uninstall MR2 and install MR1 again.
the calculation you posted worked also fine but with MR1. With MR2 it is not possible. We get the ORA-00979 error, QE-DEF-0177 or UDA-SQL-0446.
So we analyzed that problem and if we delete the concat construct, it works. But we need this time format for our customers. We have shut down our live environment within service hours that our customers are able to run reports later this day. So we have uninstalled MR2 and re-installed MR1.
Sounds like its a problem with MR2 talking to your version of Oracle.
What version of Oracle are you running, and are you using the drivers that Cognos supports?
I am what I am based on the decisions I have made.
So basically you'll need to try each of the functions individually to find out which one is failing. Let me know which one does not work with Oracle 9.204 and I'll see if I can come up with an alternative.
I am what I am based on the decisions I have made.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.