04-24-2024 10:47 AM - edited 04-24-2024 1:36 PM
Hi All
Need to see records for last 4 Months(120 Days) , this condition I need to apply in query transformation where clause in Designer based on a Date field-ERDAT which contains values in format: yyyy.mm.dd
I tried to use below condition but bods not permitting this condition:
ERDAT >= dateadd( day, -120, CURRENT_DATE());
Please anyone assist me on this .
Regards,
Siba
Hi,
Try this:
ERDAT >= sysdate() +num_to_interval(-120,'D')
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
11 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.