摘要:
CREATE proc usp_clr_SessionasbeginDECLARE @spid INT,@strSql VARCHAR(200),@pid intif object_id('tempdb..#temp') is not nulldrop table #tempcreate table #temp(id int identity(1,1) not null,Proc_info varchar(8000) null)--insert data into temp tableinsert into #temp(Proc_info)exec master..xp_cmd 阅读全文