Quantcast
Channel: SCN: Message List - can anyone tell how to use daysbetween() function in analytical view?
Browsing latest articles
Browse All 5 View Live

can anyone tell how to use daysbetween() function in analytical view?

I have been trying to calculate days by using function daysbetween(date1,date2) in anlytical view where I have put date 1 as a column from a table and date 2 as input parameter. However, I am getting...

View Article



Re: can anyone tell how to use daysbetween() function in analytical view?

Hi Vikram, need to make sure the params are date type. I used something like this before : daysbetween(date("ERDAT"), now()) where ERDAT is column of type NVARCHAR(8) Peter

View Article

Re: can anyone tell how to use daysbetween() function in analytical view?

Hi Peter, The datatype is date, initially it was NVARCHAR type but i wanna keep it to date type so i changed it.However, the query that you have given will calculate days from current date, right?. I...

View Article

Re: can anyone tell how to use daysbetween() function in analytical view?

This comment is interesting: "Also, just for your info. when i used this date function in HANA SPS 07 it was working fine but don't know what happen now when I am using it in SPS08." We're currently on...

View Article

Image may be NSFW.
Clik here to view.

Re: can anyone tell how to use daysbetween() function in analytical view?

..seems now, I have to log an incident for this. Anyways, thanks Peter for your help.

View Article

Browsing latest articles
Browse All 5 View Live




Latest Images