In my travels I believe that I've seen mention of the ability to create a stored procedure within SQL Server that allows the return of a table (as an output parameter?)
Ideally we want to be able to call one stored procedure which performs a workload and in turn returns a table which can then be used by another stored procedure (or code block).
How easily is this done ?
Can someone provide or point me in the direction of a (simple) example that I can work from and build up to do what we require ?
Any help / suggestions would be greatly appreciated.
Thanks in advance,
Steve
Ideally we want to be able to call one stored procedure which performs a workload and in turn returns a table which can then be used by another stored procedure (or code block).
How easily is this done ?
Can someone provide or point me in the direction of a (simple) example that I can work from and build up to do what we require ?
Any help / suggestions would be greatly appreciated.
Thanks in advance,
Steve