我有一个存储过程,其中包含带变量的 SQL 语句。例如,
update customer set cust_id = @newcust_id where issuedate < @transferdate and cust_id = @oldcust_id
变量的值在 SP 中较早地分配。
如何在服务器跟踪期间显示这些变量的值?
sql-server-2005 profiler
profiler ×1
sql-server-2005 ×1