Link to home
Start Free TrialLog in
Avatar of muhammadaqeel
muhammadaqeel

asked on

sysdate in FWM

i want to do some calculation on the base of current date..e.g. to calculate late year dates....
model.table.date= (to_number(extract(year from sysdate ) )-1

I know im camparing year with date...but i want to hav dates of last year in one query item ...how can i do tht
ASKER CERTIFIED SOLUTION
Avatar of welchb123
welchb123

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of muhammadaqeel
muhammadaqeel

ASKER

but when I write  [phyical layar]. [date_dim].[date] = _add_years ( current_date ,-1) its gives me an error
date column contains date too....so wht change is needed to make date colum contains the current date only