Hi Gurus,
I know this question have been asked and answered many times but I have a requirement which is a bit different then the previous ones.
I want to calculate the difference between two dates in OBIEE10g in Year/Months/Days format similar to the output of below SQL
SQL> select end_date, start_date ,
trunc( months_between( end_date, start_date ) /12 ) Years,
mod( trunc( months_between( end_date, start_date ) ), 12 ) months,
end_date - add_months(start_date,trunc( months_between(end_date,start_date) )) days
from t
Thanks in Advance
SK