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
Solved

Cognos 8.4 Error

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
web application structure 18 96
tomcat startup error 5 101
Unhandled exception type Exception 18 42
format dd/mm/yyyy parameter 16 30
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…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
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.
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

808 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