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