macromedia.coldfusion.database_access
[Top] [All Lists]

Re: SQL LIKE statement to text field fomr CF MX 6.1

Subject: Re: SQL LIKE statement to text field fomr CF MX 6.1
From: "Dan Bracuk" <webforumsuser@xxxxxxxxxxxxxx>
Date: Fri, 18 Apr 2008 18:13:21 +0000 (UTC)
Newsgroups: macromedia.coldfusion.database_access

The sql works the same no matter how large the string is.  The part between the 
percentage sign has to be matched exactly.  If you are only getting a match 
sometimes, then something is different with your test string.  It could be a 
capital letter somewhere, or some extra whitespace.

 I rarely work with SQL Server so I don't know it that well.  However, I'm 
pretty sure it has upper and lower functions.  That will help you with the 
capital letter problem.

 The whitespace problem is harder.




<Prev in Thread] Current Thread [Next in Thread>