Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Cognos 8.4 Error

Posted on 2010-11-18
5
Medium Priority
?
1,072 Views
Last Modified: 2013-11-24
I am trying to Drill through to my detail report and am getting a UDA-SQL-0460 error.  The parameter it's balking at is data like '15-19', '20-25'.  Obviously defined as char in the db but I think it's trying to add the numbers together and then complains that I am adding characters.  Here is the first line of the error message.  The rest is the usual gibberish.

UDA-SQL-0460 A general exception has occurred during local processing.UDA-EE-0094 The operation "add" is invalid for the following combination of data types: "character" and "double"

Apparently this is not a big issue in ReportNet.  Any help would be greatly appreciated.  Thanks, steve.
0
Comment
Question by:Steve4400
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 8

Assisted Solution

by:SNeupane
SNeupane earned 2000 total points
ID: 34169560
First of all, does your drill through report run by itself??
If it is, then select the data column in Cognos report and then in the properties, select 'None' on aggregate and rollup aggregate fields.
It must be set to automatic and it's trying to add.
That should resolve the issue.
0
 

Author Comment

by:Steve4400
ID: 34195827
Thanks SNeupane,
I tried that and varified all other properties.  Unfortunately the problem still persists.
0
 
LVL 8

Assisted Solution

by:SNeupane
SNeupane earned 2000 total points
ID: 34206477
If you are certain that the type of data is the issue, then you have to cast the data item to appropriate type.
For example, double click on the data item and the data item for parameter with a cast statement to make both the same.
cast([Data item], varchar (10))
0
 

Author Comment

by:Steve4400
ID: 34206591
Thanks for taking the time to ponder this SNeupane!  I figured out the problem.  I am maintaining a report that somebody else wrote without documentation.  I was sending my string to a numeric value set up in the content store.  They both had the same name so I didn't think to look there 'till today.  Once I changed it to look at the correct value I was godd to go.  Thanks again.

BTW - your first respone was also part of the solution.  The aggregate property was indeed set to count.
0
 
LVL 8

Accepted Solution

by:
SNeupane earned 2000 total points
ID: 34207732
Glad you got it resolved.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question