General information
Category:
Coding, syntax & commands
Title:
Rushmore Optimizing an SQL contains statement
Does anybody know of a way to rushmore optimize the following SQL
statement?
Select * from part where name like '%Cover%'
I have an index on name and as long as I am searching for an equality, name
= 'text', statement or LIKE 'Cover%', begins with, the SQL statement is
optimized. But if I want to search for a record where the name contains a
specified text or ends with the text, the statement is not optimized.
Any help would be greatly appreciated
Thanks --
David Wilkerson
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only