TSQL How to exec a stored procedure inside select query?

No. But you can execute a function inside a select statement. So recreate your Stored Procedure as a function and this should work It will be called for every row so be careful of performance if returning many rows.

No. But you can execute a function inside a select statement. So recreate your Stored Procedure as a function and this should work.It will be called for every row so be careful of performance if returning many rows.

This is the exact answer I'm looking for as I need to pass a bunch of records to a stored procedure. Sounds like Tony might want to create a view instead of a function. Hard to say without knowing what the USP does.

– mahalie Jan 21 at 20:11.

"tsql exec to procedure inside select query" - Google Search.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions