I have a conceptual way I’d like to code a set of related functions and stored procedures. I’m hoping to get a little feedback on whether or not that way is doable.
In a stored procedure, I’d like to assign the values of a table-valued function to a temporary table, then pass that table to another stored procedure…
Can I do this without creating table types?
A quick sample of the #temp table solution: