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 have one date as a column in a table and another date is from input parameter.
So I need to calculate days lapse between two specified dates in which i have been unsuccessfull so far..
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.
Regards,
Vikram