Hello Community,
Being a beginner on Alteryx, here I am faced with my first real problem.
I have in INPUT several SQL queries that use date fields in the WHERE clause.
Each time, I have to enter a where clause with date between 'StartDate' and 'EndDate'. So there are two parameters in each queries. Always the same.
I first tried the "Dynamic input" with the "Modify SQL Query" + Add "replace a specific string"
Text To Replace: 'StartDate'
Replacement Field '2022-01-01'
+
Add "replace a specific string"
Text To Replace: 'EndDate'
Replacement Field '2022-12-31'
=> Resulting in the following error message:
Error: Input Data (8): Error SQLPrepare: [Teradata][ODBC Teradata Driver][Teradata Database] A character string failed conversion to a numeric value.
I also tried with the Action tool, with no more success.
Thank you in advance for your help!