In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

SQL query with date

LinhNguyen
8 - Asteroid

Good morning, everyone!

 

I'm trying to run this SQL query to select data in a date range using the dynamic In DB tool. The workflow didn't show any error but still output all the date and not the date range that I specified.

 

Could you help me figure out the problem with this query?

 

Thanks!

 

 

2 REPLIES 2
LordNeilLord
15 - Aurora

Hey @LinhNguyen 

 

Shouldn't the query be FLDate < DatePY?

LinhNguyen
8 - Asteroid

I tried that and it didn't work, but then I tried FLDate > DATE '" + [DatePY]+ "' and it worked 😄

Labels
Top Solution Authors