When altering the structure of tables it is good practice to run SP_RECOMPILE against the table to force triggers and stored procedures to recompile. However this does not incude Udf's which also rely on the table, and this means the Udf's may fail when they are called. Run this script and supply the table name to it to force the recompile of all Udf's associated with a table.
2007-10-02 (first published: 2002-06-20)
15,451 reads