AnsweredAssumed Answered

SQL syntax for query.where.

Question asked by ZachLiu on Aug 13, 2013
Latest reply on Aug 15, 2013 by ZachLiu
I am trying to build a query form on my application, but I met problems building SQL statements.
Anyone knows where to find accurate SQL syntax for query.where?

e.g. This statement does not work.

query.where = "damname = '" + $("input[name='damname']").val() + "'" + " OR " + "HAZCLASS = " + $("input[name='HAZCLASS']").val() + "";

Outcomes