Viewing 3 posts - 1 through 4 (of 4 total)
Read your post. I copied those statements from your post word for word. Figured those were your query conditions.
March 2, 2016 at 5:10 am
Maybe something like this will work. Just splitting up your ORs into separate queries.
IF OBJECT_ID('tempdb..#Test1') IS NOT NULL
DROP TABLE #Test1
IF OBJECT_ID('tempdb..#Test2') IS NOT NULL
...
March 1, 2016 at 8:08 am
I found this article on Index usage interesting. By Kimberly Tripp. Talks about Tipping Points.
http://www.sqlskills.com/blogs/kimberly/category/the-tipping-point/
February 22, 2016 at 12:56 pm
Viewing 3 posts - 1 through 4 (of 4 total)