Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using CONTAINS in where clause
Message
From
28/03/2011 15:19:59
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01505253
Message ID:
01505278
Views:
23
>It does not conflict, it narrows down the results. E.g. if you search for 'BENZ' using full text search, it will be in the results. With your second criteria you'll get this
only record.

Yes, but if I want to search for everything that starts with BENZ only, the Contains is not necessary and slows down the process. In that particular situation, I should only use the second part. But, on that particular one, I just got confirmed that we need to suppor the full text search on that one at that specific location (the form that generates that SQL). So, I would need to adjust the SQL to have Contains at first and narrows down the search as a second step, such as we do here when searching for an exact phrase.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform