Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Alteryx In-Database Tool Does Not Appear to Support SQL WHERE clause

carltonp
8 - Asteroid

Hello Community,

I am trying to apply the SQL 'where' clause with the In-Database tool as follows:

 

 

race_year = 2019
where circuit_id < 70

 

 

However, the SQL clause doesn't appear to be supported.

 

carltonp_0-1663687671041.png

Any thoughts on how to implement T-SQL in the In-Database tool

1 REPLY 1
DataNath
17 - Castor
17 - Castor

@carltonp the In-DB Filter tool itself acts as a 'WHERE' clause and so you just type into the filter everything you would normally place after this. Judging from your request your custom filter should perhaps just be 

 

 

race_year = 2019
AND
circuit_id < 70

 

 

https://help.alteryx.com/20221/designer/filter-db-tool

Labels
Top Solution Authors