Hi,
I'd like to cast a column of datatype " IntervalDayTimeValue" ([fällig seit]) to integer (smallint). So I did the following:

As you can see, the Syntax Editor does not throw any error.
But when I want to run the Report, the following error appears:

If I do something like cast(1,0; smallint) --> everything is fine
Furthermore, I tried the other way round: cast (0; intervalday) (I want to cast the Zero into Interval-datatype that I can compare them)
--> in this case, I'm not sure about the Syntax because the explanation for the function says that you have to add the type of Interval - but how ? I tried: interval_day, intervalday etc. but nothing works.
I'd be glad if anyone can help.
Thanks in advance,
Tina
------------------------------
Tina
------------------------------
#CognosAnalyticswithWatson