I'm having trouble with a very simple SQL statement to find a certain string within a body of text:
No matter how I escape the characters in it, it isn't found even though it's there. Any ideas?
Don
Experienced in HTML, Perl, PHP, VBScript, PWS, IIS and Apache and MS-Access, MS-SQL, MySQL databases
Code:
SELECT ID FROM mainpages WHERE BodyText LIKE [COLOR=red]'%<!--ImageBegin->%'[/color] AND ID = 10
No matter how I escape the characters in it, it isn't found even though it's there. Any ideas?
Don
Experienced in HTML, Perl, PHP, VBScript, PWS, IIS and Apache and MS-Access, MS-SQL, MySQL databases