I am trying to execute a SQL query using Zeolibs but compiler keeps complaining with the following error - Unknown column in Where clause.
ZQuery1.SQL.Text := 'SELECT * FROM new_table WHERE TagName = '+theSig.f.TagName;
ZQuery1.ExecSQL;
But I checked all the columns in my database table and it is correct as I have it here TagName
What is wrong with my SQL statement?