Home Contact

Brian Sherwin's Blog

Moving at the Speed of .Net

News

Twitter












Tag Cloud


Archives

Links

Syndication:

Watch your procedure cache when using parameters

Dan Guzman had an enlightening post on how SQL server caches ad-hoc queries when using inline parameters.  Basically the gist is that if your values for any given paramter changes you get variability in you cached procedure.  However, if you specify the SqlDbType when adding your parameters, you can avoid this whole problem.

Technorati Tags:

Feedback

No comments posted yet.


Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: