Solved

Cognos 8.4 Error

Posted on 2010-11-18
5
1,065 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 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

Understanding Linux Permissions

Linux for beginners: How to view the permissions associated with files and directories and also how you can change them.

Question has a verified solution.

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

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…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.
Suggested Courses

630 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