In reply to: Daniel Krüger (Cosmo Consult)
Hi Klaus,
maybe you can change your procedure to a table-valued function, than you could easily use it in an select statement.
An example using one of the provided table-valued functions in the BPS content db:
select item
from dbo.SplitToTable('a,b,c,d',',')
Otherwise you could test this approach, which I didn't test myself.
http://www.techbrothersit.com/2014/08/tsql-how-to-execute-stored-procedure-in.html
Best regards,
Daniel
Hi Daniel,
the hint with the table-valued function was great. I have to chance the setup a bit, because the gain in speed wasn't as expected, but I have plenty of ideas to use this.
The approach shown in the link doesn't work as I can't change the database to allow "Data Access".
Kind regards
Klaus