SQL Wildcards using %%% -
i'm wondering problems may not foresee using query:
select * tanswer courseid '%%%' , q39 'p' , q42 'a' , q43 'a'
in particular using '%%%'.
the reason being, have dropdown send '%' , in sql enclose other 2 % search through set of courses, query leaving courseid searching through courses.
the recordset returned seems work fine, i'm not sure if there's may not seeing using 3 %%% together. special use of wildcards i've stumbled across?
these equivalent:
courseid '%%%' courseid '%%' courseid '%'
which why query behaves expected to.
Comments
Post a Comment