Beware of caching and parameter sniffing. I had some weird performance problems with some stored procedures and was able to narrow it down to some bad optimizations. http://blogs.msdn.com/b/khen1234/archive/2005/06/02/424228.aspx
bugtussle
2010-10-07 21:35:17