You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Cannot use column within WHERE clause error

Received Response
5
Views
10
Comments
edited Dec 7, 2011 8:31PM in Integrations and APIs 10 comments

Content

I'm trying to execute the following query via the WebServices API. When it runs I get the error "Cannot use column within WHERE clause error 'Question'"

String query = "Select Answer from Answer where Question like 'Something%' ";

What does this mean? I have tried these alternatives to no avail:

String query = "Select Answer from Answer A where A.Question like 'Something%' ";

 

The only thing that I have gotten to work is this:

String query = "Select Answer from Answer A where A.ID like '2259'"

I have tried both queryObject and queryCSV.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!