Hi I have a SQL query and am able to run the query in SQL studio. However while running in Alteryx both in input tool and connect -in DB tool am getting error. Can you please help. How to configure SQL query with declare variable
Query example:
--The query has a declare statement
declare @input_date as varchar(10)
SET @input_date = '20230723'
--and in the rest of the query am trying to drop a table if it exists and create a table then do call the above declared variable in the query