I have a table were I only want to extract last 20 days of data based on "Update" datetime column. As the parameter option has a fixed start time (default value), I am looking for an option to add a SQL in Filter Statement where it substract 20 days from current date. This is giving error "Error parsing filter:"
SQL used in Filter Statement: ColumnName >= TIMESTAMPADD ('day', -20, CURRENT_TIMESTAMP AT TIME ZONE 'US/Eastern')
As this is Full load extraction, I am not using "Enable Change Date Filter".
I also tried the option of creating parameters and changing value in transformation but that too didn't work.
Any help would be appreciated.