Announcements
Hi,
I have a SQL SP that can take date values, i.e. @From and @TO
How do I pass in parameters such as: ( cast([Visitor].[Arrivaldatetime] as date) between cast(getdate()-8 as date) and cast(getdate()-1 as date) ) - in other words for @From I want to pass in today()-8 and @TO to be Today()-1 ?
Please help.
Thanks!
Hi @Sach2022 ,
It it a powerautomate question?
Do you want to pass date from flow to stored procedure while the flow is running?
If so , you could try this:
If you want to get the date 8 days ago, you could use this expression:
Best Regards,
Wearsky
Thank you.
Just like your screenshot, my SP accepts a few more Params, but the other two are integers and I wish to leave them either as any or null. While you are at it, how do I specify <>blank (i.e. is not blank, or has an integer value) and null for integer Param types?
Thanks.
Sorry i didn't understand your needs.
Could you explain it?
I've since done it now, thanks for your help. I will accept as a solution. Cheers.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 356 Most Valuable Professional
11manish 225 Super User 2026 Season 2
Mohsin Ali 211