Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Join resultset from SP_WhoIsActive

$
0
0
Hi,I execute [code="sql"][dbo].[sp_WhoIsActive] @get_plans=1,@get_additional_info=1 [/code] on SQL Server. But how I can join the resultset from SP_WhoIsActive with below SQL statement (join them with Session_Id)?[code="sql"]select CONTEXT_INFO from sys.dm_exec_sessions where program_name like '%SAP%'[/code]Thanks

Viewing all articles
Browse latest Browse all 3145

Latest Images

Trending Articles



Latest Images