Changing a table-valued function that a stored procedure calls is not recognized?

Posted by Peter on Stack Overflow See other posts from Stack Overflow or by Peter
Published on 2010-04-27T07:07:25Z Indexed on 2010/04/27 7:13 UTC
Read the original article Hit count: 352

Filed under:
|

Hey all

I have a stored procedure sp that calls a table-valued function tvf. Sometimes I modify the tvf but when subsequently executing sp, the output from sp is the same as before the modification. It seems like it is cached or compiled or something. If I make some dummy change to the sp, then I get the right output of the sp.

Is there some way, I can overcome this problem? In Oracle it is possible to re-compile all stored procedures, but I haven't been able to figure out how to do this in SQL Server?

Any help is highly appreciated.

© Stack Overflow or respective owner

Related posts about function

Related posts about sql-server-2005