Solved

Cognos 8.4 Error

Posted on 2010-11-18
5
1,032 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
  • 3
  • 2
5 Comments
 
LVL 8

Assisted Solution

by:SNeupane
SNeupane earned 500 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 500 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 500 total points
ID: 34207732
Glad you got it resolved.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
pairs challenge 5 44
Array of Key/Value Pairs as input to Oracle function 10 42
Oracle 12c patching 1 33
PL/SQL - Leading zeros 7 41
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows how to recover a database from a user managed backup
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now