Steven.Howes (1/13/2012)
Have you tried a profile trace to see what is actually being passed to your SP?
I need to use a function but I had to switch to some DBA tasks and it is on hold.
Thanks.
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/