Hi,
Is there a trick to work around creating multiple plan guides for the same query where the only thing changing is the length of named parameters?
I have a query that is issued by MS CRM 4.0. The only thing changing is the length/size of the parameter of the query. Every query has a different parameter size depending on the length of the search value entered in the application. Basically the value 'wall street' will equal a parameter with the value 'wall street%' and a parameter size of 12 (nvarchar(12)) and a the value 'horse' will equal a parameter with the value 'horse%' and the size 6.
Is multiple plan guides really the only solution?
Regards,
Jesper, SEAS-NVE