Dave Ballantyne (7/5/2011)
I did reference this in Part 1 , but take a look at http://www.sqlbits.com/Sessions/Event6/High_performance_functions for a full demonstration.
lol, your url got a little hijacked.
http://www.sqlbits.com/Sessions/Event6/High_performance_functions