SYMPTOM:
The following error occurs when running a report built using the out-of-the-box Query Builder template in Strategy Developer 9.4.x-10.x (for demonstration an Oracle driver was used - however the actual 'invalid number' error can occur with any database):
QueryEngine encountered error: Fetch failed. Error type: Odbc error. Odbc operation attempted: SQLFetch. ORA-01722: invalid number.
Error in Process method of Component: QueryEngineServer, Project Contact History Datamart, Job 51348, Error Code= -2147212544.
CAUSE:
One potential cause for this error is that the date columns specified in the report have different formats on several of the tables being joined.
For example, if the date format 'YYYY:MM:DD:HH24' is used in a view table and the date format 'YYYY:MM:DD' is used in a lookup table, the report will return this error.
ACTION:
Follow the steps below to resolve this issue:
