THE SQL Server Blog Spot on the Web

Welcome to SQLblog.com - The SQL Server blog spot on the web Sign in | |
in Search

SELECT Hints, Tips, Tricks FROM Hugo Kornelis WHERE RDBMS = 'SQL Server'

Parameterization and filtered indexes (part 2)

This blog has moved! You can find this content at the following new location:

https://SQLServerFast.com/blog/hugo/2014/01/parameterization-and-filtered-indexes-part-2/

Published Friday, January 24, 2014 3:43 AM by Hugo Kornelis

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

Paul White said:

Hi Hugo,

As an aside, adding OPTION (RECOMPILE) allows the filtered index to be used even where parameterization is forced (there is no possibility of plan reuse).

Paul

January 25, 2014 5:03 PM

Leave a Comment

(required) 
(required) 
Submit

About Hugo Kornelis

Hugo is co-founder and R&D lead of perFact BV, a Dutch company that strives to improve analysis methods and to develop computer-aided tools that will generate completely functional applications from the analysis deliverable. The chosen platform for this development is SQL Server. In his spare time, Hugo likes to visit the SQL Server newsgroups, in order to share and enhance his knowledge of SQL Server.
Privacy Statement