I have a SQL query that I use for a search function (shown below)
SELECT t.op_id, t.op_desc FROM operator
WHERE UPPER(t.op_id) LIKE UPPER(?);
when my web page first loads, it simply returns every operator in the table.
There a few entries in the database for which the operator id (t.op_id) contains some white space "Operator A". Is there any way that I can alter this query so that results that contain white space in the operator name are excluded?