Accessing TSQL created #temp tables from CLR stored procedure. Is it possible?
I have a TSQL Stored Procedure tsql__sp__A which does two things: (a) Creates a temp table #tempTable that has SELECT data from a complex SELECT query. (b) Calls a CLR managed Stored Procedure clr__sp__B for each row that does computation on row parameters. Question: Is it possible to access #tempTable from CLR procedure clr__sp__B using the same connection context? (No, I don't want to move or create another #tempTable inside managed procedure) Thanks. Thank you Boj. However I found that when you use with a "context connections=true" it opens up all the SET Read Bol Article //The context