SQLServer: Why avoid Table-Valued User Defined Functions?
I have a rather huge query that is needed in several stored procedures, and I'd like to shift it into a UDF to make it easier to maintain (A view won't work, this takes in a bunch of parameters), however everyone I've ever talked to has told me that UDF's are incredibly slow. While I don't know what exactly makes them slow, I'm will to ...