Hello Community ,
Using the Input Tool I was able to connect to the DB using the ODBC driver.
I was able to run a simple query of SELECT * FROM table name WHERE condition
But if I make a error in syntax say SELECT * FROM table name WHERE ;; condition
The Input Tool throws out an error Saying Error opening "......: No Columns returned "
The error message does not give any information as to what is causing the error.
So in the actual business case there is a complex query which is currently being run in the Microsoft SQL Studio to fetch the data and then further operations on it are performed in excel.
The same query gives an error in alteryx with the generic message of No columns returned
Any idea how to find what part of the SQL query is giving the error ? and to debug it ?
The query in picture is complex and is not feasible to built it from scratch in alteryx nor is it feasible to bring the tables from DB in workflow
The same issue persist in the IN DB Tool ,any help on how to debug the error would be much appreciated.
PS : I can not share the query here
Thanks