1 CREATE PROCEDURE test_p_azure 2 ( 3 @name NVARCHAR(50) , 4 @flag INT 5 ) 6 /* 7 测试存储过程传参 8 */ 9 AS 10 BEGIN 11 SET NOCOUNT ON; 12 SELECT 1; 13 SET NOCOUNT OFF; 14 END;
1 SELECT a.spid , 2 b.text 3 FROM sys.sysprocesses a 4 CROSS APPLY sys.dm_exec_sql_text(a.sql_handle) b 5 WHERE a.spid > 50 6 AND spid <> @@SPID;
Azure sql database 监控存储过程的传参情况
原文:http://www.cnblogs.com/jil-wen/p/6826554.html