Answered
CFQUERY where '
I have a regular cfquery which is fine.
The problem that I ran into is that one entry in database that I search by contains ',
so it looks like something like
<CFQUERY ........
select * from table
WHERE house = 'Mike's House'
</CFQUERY>
well obviously ' in Mike's is closing the opening ' . I can't change data in the db, so is there a way to make this work?
The problem that I ran into is that one entry in database that I search by contains ',
so it looks like something like
<CFQUERY ........
select * from table
WHERE house = 'Mike's House'
</CFQUERY>
well obviously ' in Mike's is closing the opening ' . I can't change data in the db, so is there a way to make this work?