We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

SQL USING CONTAINS FAILS

kruckit
5 - Atom

I have a simple SQL query that I am trying to do that fails.  I have done very little SQL coding and do not know why this fails.
Tied to an MS SQL Server box with the this SELECT statement:
select Test.*
from Test
where contains(refer,'Test')

When I test the query I get an ERROR OPENING error message.

If I remove the where clause it works fine.

 

3 REPLIES 3
TheOC
16 - Nebula
16 - Nebula

hey @kruckit 

Dont have an sql instance spun up to test, but i believe you would want:

Select Test.* from Test where refer CONTAINS 'Test'

Hope this helps,
TheOC

Cheers,
TheOC
Connect with me:
LinkedIn Bulien
kruckit
5 - Atom

That gives the same error.  When I try to switch to the Visual Query Builder I also get a message that it is an invalid SLECT statement.  The other version didn't do that, but still threw an error when run.

Abell
7 - Meteor

any resolution? I am getting errors with contains in the SQL editor also

Labels
Top Solution Authors