Hi Tim,
have you tried using computed columns in Table variables returned from functions?
I found what I believe to be a bug in SQL Server 2000, if you try and return a table from a UDF which contains a computed column, it seems to mess up the UDF definition, adding an extra row at the bottom of the UDF. See the post below, no-one ever responded to it.
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=256329#bm256724
I welcome your thoughts on this
David
If it ain't broke, don't fix it...