Report question

Question: How can I determine the parameters required by an arbitrary piece of T-SQL?