Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB SQL » View Thread |
Messages 11 to 15 of 15 total |
Different results using TextIndex |
Sun, Sep 1 2013 12:12 PM | Permanent Link |
Uli Becker | I did some further tests on that and it seems that there is a problem
with the combination of "like" and "contains". I changed all indexes to TextIndex. This query using "contains" works fine: select Caption, Search, Text from Folders where ( Caption contains '*steuer*' or Search contains '*steuer*' or text contains '*steuer*' ) AND ( Caption contains '*ident*' or Search contains '*ident*' or text contains '*ident*' ) while this one mixing "like" and "contains" fails: select Caption, Search, Text from Folders where ( Caption like '%steuer%' or Search contains '*steuer*' or text contains '*steuer*' ) AND ( Caption like '%ident%' or Search contains '*ident*' or text contains '*ident*' ) The latter doesn't find the record with 'steuer' and 'ident' in the field "Caption". Uli |
Sun, Sep 1 2013 11:10 PM | Permanent Link |
Michael Riley ZilchWorks | Uli Becker wrote:
> I did some further tests on that and it seems that there is a problem > with the combination of "like" and "contains". > > I changed all indexes to TextIndex. > > This query using "contains" works fine: > > select Caption, Search, Text from Folders where > ( > Caption contains '*steuer*' > or Search contains '*steuer*' > or text contains '*steuer*' > ) > AND > ( > Caption contains '*ident*' > or Search contains '*ident*' > or text contains '*ident*' > ) > > while this one mixing "like" and "contains" fails: > > select Caption, Search, Text from Folders where > ( > Caption like '%steuer%' > or Search contains '*steuer*' > or text contains '*steuer*' > ) > AND > ( > Caption like '%ident%' > or Search contains '*ident*' > or text contains '*ident*' > ) > > The latter doesn't find the record with 'steuer' and 'ident' in the > field "Caption". > > Uli Uli, Thanks for following up. -- Michael Riley GySgt USMC (Ret) www.zilchworks.com |
Mon, Sep 2 2013 3:50 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Uli
Have you sent a test case to Tim so he can fix it? Roy Lambert |
Mon, Sep 2 2013 4:02 AM | Permanent Link |
Uli Becker | Roy,
<<Have you sent a test case to Tim so he can fix it?>> not yet, but I'll do that soon. Uli |
Tue, Sep 3 2013 2:18 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Uli,
<< not yet, but I'll do that soon. >> Please do - I'm getting ready to do a new build in the next week, and I'm only averaging about a new build every month. Thanks, Tim Young Elevate Software www.elevatesoft.com |
« Previous Page | Page 2 of 2 | |
Jump to Page: 1 2 |
This web page was last updated on Monday, April 29, 2024 at 05:23 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |