COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: cbyrne123 on 25 Apr 2014 10:06:21 AM

Title: Inconsistent types (7481) when validating my SQL
Post by: cbyrne123 on 25 Apr 2014 10:06:21 AM
Hello when i try and validate my SQL in Cognos report studio i get the below error.

ODBC Progress OpenEdge Wire Protocol driver][OPENEDGE]Inconsistent types (7481)

When i use the prompt for invoice_doc.kdate i get the above error.

When i use invoice_doc.kperiod its fine however i want to prompt between dates.

I have tried a few cast functions but not sure if they are correct because i am fairly new to SQL writing.

Thanks

Chris
Title: Re: Inconsistent types (7481) when validating my SQL
Post by: MFGF on 25 Apr 2014 10:20:20 AM
Quote from: cbyrne123 on 25 Apr 2014 10:06:21 AM
Hello when i try and validate my SQL in Cognos report studio i get the below error.

ODBC Progress OpenEdge Wire Protocol driver][OPENEDGE]Inconsistent types (7481)

When i use the prompt for invoice_doc.kdate i get the above error.

When i use invoice_doc.kperiod its fine however i want to prompt between dates.

I have tried a few cast functions but not sure if they are correct because i am fairly new to SQL writing.

Thanks

Chris

Looks like a known defect in Progress 11:

http://knowledgebase.progress.com/articles/Article/000046804

If you can tell us more detail about your report and how you need it to work we might be able to suggest a workaround?

Cheers!

MF.