There is no real definitive answer. If you have a table with the metadata you need use, if not, you can create just a table type if you know you only need the table type definition. It's all about options. John also gave some more tips on what direction you might wanna go, given the fact that you will want to wrap your proc as a calc view (or not).
↧