Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Cognos 8.4 Error

Posted on 2010-11-18
5
Medium Priority
?
1,077 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 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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
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.
Suggested Courses

783 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