摘要:
USE mastergoIF OBJECT_ID('tempdb..#temp') IS NOT NULL DROP TABLE #tempCREATE TABLE #temp ( id INT IDENTITY(1, 1) NOT NULL ,Proc_info NVARCHAR(MAX) NULL ,CONSTRAINT pk_id PRIMARY KEY ( id ASC ) )--insert data into temp tableINSERT INTO #temp ( Proc_info ) EXEC master..xp_cmdshell 'tasklis 阅读全文