eo
MIS
- Apr 3, 2003
- 809
I have a few tables which are used in a view (SQL 2012), but the query takes far too long to run and I am looking at suggestions
to improve performance. I do howevver know that clear bottleneck is the following join..
The reason for such a join is because I have to establish if the [Title] contains one or more (or none) of the words in [Dictionary]. There could be millions of [Title]'s and about 20 or so [Dictionary] values.
I know this is a very broad question, but has anyone achieved something similar by using something other than a CHARINDEX join?
EO
Hertfordshire, England
to improve performance. I do howevver know that clear bottleneck is the following join..
Code:
LEFT JOIN dbo.ToneDictionary D
ON CHARINDEX(Dictionary,Title) > 0
The reason for such a join is because I have to establish if the [Title] contains one or more (or none) of the words in [Dictionary]. There could be millions of [Title]'s and about 20 or so [Dictionary] values.
I know this is a very broad question, but has anyone achieved something similar by using something other than a CHARINDEX join?
EO
Hertfordshire, England