AnsweredAssumed Answered

Query.Where clause

Question asked by billyiuuuyf on Feb 25, 2015
Latest reply on Feb 25, 2015 by billyiuuuyf

The below statement functions fine in a mapserver query: 

 

query.where = "STRU_NAME = '" + structure+ "'";

 

I'd like to switch the " = " to a like statement.  I can't seem to get this statement to return any data:

 

query.where = "STRU_NAME like '" + structure+"'";  

 

Any suggestions?  I'm fairly new to development, probably something easy.

Outcomes