July 29, 2016 at 12:37 am
Hi,
I execute [dbo].[sp_WhoIsActive] @get_plans=1,@get_additional_info=1
on SQL Server. But how I can join the resultset from SP_WhoIsActive with below SQL statement (join them with Session_Id)?
select CONTEXT_INFO from sys.dm_exec_sessions where program_name like '%SAP%'
Thanks
July 30, 2016 at 9:44 am
Anyone can help?
Thanks,
July 30, 2016 at 12:57 pm
Yes. Ask the author of sp_WhoIsActive. 😉 Or learn how to use OPENROWSET. :w00t:
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply