You are not logged in.
I am using Date Paramer, I have input start date parameter as STDT, now, in my query, I am giving date to be in between ${STDT} and ${STDT +7} for a week ahead. How should I correct this- ${STDT +7}?
Offline
Hi shivam_p,
you can use your db-standard ways of adding dates. For example, if you are using mysql, you could use DATE_ADD()
Regards,
Eduardo
Offline
Hii Eduardo, thanks for your reply. I am just trying the DATE_ADD(), How can i use ${STDT} in that?
Offline
Hi shivam_p,
try with
DATE_ADD(${STDT}, INTERVAL 7 DAY)
Regards,
Eduardo
Offline