You can create a parameterized macro which can take the date parameter from you.
If you are just running the query manually in SQL assistant and want to make the query dynamic so that everytime it ask you for the date, then you can do that as well by using '?<any_text>'
↧