|
|
-
Dennis Allen Solved 7 Months ago through Puzzles
I forgot to output the original phrase column...
|
-
Dennis Allen Commented 7 Months ago through Puzzles
I forgot to output the original phrase column...
|
-
Dennis Allen Solved 7 Months ago through Puzzles
The trick is to use a column-value sub-query which selects a list of the words in the phrase which do not occur in the list of noise words and then use FOR XML PATH('') to put the split words back together into a single value.
|
-
Dennis Allen Commented 7 Months ago through Puzzles
The trick is to use a column-value sub-query which selects a list of the words in the phrase which do not occur in the list of noise words and then use FOR XML PATH('') to put the split words back together into a single value.
|
-
Dennis Allen Commented 8 Months ago through Blogs
For my testing I found converting the target column to DATE for time insensitive comparison performed over 55k rows actually performed better than using full DateTime with filter values inclusive of the time needed, and I find both to be accurate. I di...
|
-
Dennis Allen Commented 8 Months ago through Blogs
For my testing I found converting the target column to DATE for time insensitive comparison performed over 55k rows actually performed better than using full DateTime with filter values inclusive of the time needed, and I find both to be accurate. I di...
|
-
Dennis Allen Answered 2 Years ago through Quizzes
A simple way to think about it is;
FROM defines the data that is accessible, and then
WHERE restricts the data accessible by FROM, and then
GROUP BY groups the data restricted by WHERE, and then
HAVING restricts the data grouped by GROUP BY...
|
-
Dennis Allen Commented 2 Years ago through Blogs
Another solution that does not use partitioning;
SELECT DISTINCT
--- convert all non-intersecting left-side values to NULL
CASE a.attrib WHEN b.attrib THEN a.attrib ELSE NULL END 'left',
b.attrib 'right'
FROM @demo2 a
LEFT OUTER JOIN @demo b...
|
-
Dennis Allen Commented 2 Years ago through Blogs
Another solution that does not use partitioning;
SELECT DISTINCT
--- convert all non-intersecting left-side values to NULL
CASE a.attrib WHEN b.attrib THEN a.attrib ELSE NULL END 'left',
b.attrib 'right'
FROM @demo2 a
LEFT OUTER JOIN @demo b...
|
|
|