• Ravi

    I take it function1 is a function? sp_recompile only acts on stored procedures and triggers.

    John