Submitted by: Srinath M S(srinath_ms@yahoo.com)

Friday Aug 3rd 2018 by Srinath M S

Language: SQL, Expertise: Intermediate - Learn how to make possible for the query plan cache to be reused by all users.

SQL Server, by design, caches query plans for queries. For reuse of cache, the best practice would be to include the schema name in the query.

For example:

select * from dbo.accounts

This way, when this is cached, the cache can be reused by all users who execute this query.

Mobile Site | Full Site