Problem with variable referencing of presentation (KEY Date) in the instruction box

Hello

I'm trying to reference variables of presentation created on a Date column in the instruction box to one of the columns in the query, as shown below:

-case when '-citation details. "" "Created" between ' @{of} {1999-1-1}' and ' @{until} {2999-1-1} "then"-quote Metrics. " "" end of number of citations.

I m getting a view displays error message with the following error message:

State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 17001] Oracle error code: 1861, message: ORA-01861: literal does not match the format string to the call of the OIC OCIStmtExecute

SQL issued: SELECT "-quote Types '." Name of level 2 Saw_0', case when '-citation details. "" Created "between" 01/04/2009 ' and ' 15 / 04/2009 ' then '-quote Metrics ' "." number of citations"end saw_1"(unit) - CATALOGUE of quotes"WHERE"-citation details "". "" Date of creation"BETWEEN timestamp ' 2009-04-01 00:00:00 ' timestamp AND ' 2009-04-15 00:00:00 ' ORDER BY saw_0


When I created the prompt on the date field, I put the following in the command prompt:
Cast ("-time".) Day)

When I apply a filter on the query using these variables, it works fine.

If anyone has faced this kind of question earlier and have a resolution, please help me.

Thank you
Kitenge

Hello.

Select the double - A NON-VALIDE MONTHS TO_DATE('1999-1-1','mm/dd/yyyy')

Try this:

OLD: EVALUATE ('TO_DATE (%1, %2)', ' @{of} {1999-1-1} ", mm/dd/yyyy)
NEW: EVALUATE ('TO_DATE (%1, %2)', ' @{of} {01/01/1999} ", mm/dd/yyyy)

and

OLD: EVALUATE ('TO_DATE (%1, %2)', ' @{of} {2999-1-1} ", mm/dd/yyyy)
NEW: EVALUATE ('TO_DATE (%1, %2)', ' @{of} {1, 1, 2999} ", mm/dd/yyyy)

and if not ok after that, after an error in query SQL of NQQuery.log.

Kind regards

Goran Ocko

http://108obiee.blogspot.com/

Tags: Business Intelligence

Similar Questions

Maybe you are looking for