 <p>The problem is the <code>where</code> clause - you are giving it an expression that will evaluate to a string expression, but the <code>where</code> clause is used to specify conditions that must be satisfied to return records. </p> <p>You need to rewrite the <code>where</code> clause to specify records to be selected.</p>