iscomar001
5/13/2014 - 4:02 PM

Select SP

Select SP

CREATE TABLE #TestTable ( 
		spID			VARCHAR(100),
		hostName		VARCHAR(100), 
		blkBy			VARCHAR(100),
		activeSeconds	VARCHAR(100),
		programName		VARCHAR(100),
		cpuTime			VARCHAR(100),
		diskIO			VARCHAR(100),
		query			VARCHAR(MAX)
	);
	INSERT INTO #TestTable
	EXEC sp_who3;