How to trace T-SQL function calls

后端 未结 9 1347
被撕碎了的回忆
被撕碎了的回忆 2020-12-15 04:43

I\'m trying to debug a rather complicated formula evaluator written in T-SQL UDFs (don\'t ask) that recursively (but indirectly through an intermediate func

9条回答
  •  Happy的楠姐
    2020-12-15 05:32

    I use SQL SPY which does what you are looking for and more.

    SQL SPY

    SQL SPY Feature Documentation

    SQL SPY's Incoming SQL Sniffer shows the incoming SQL code of each connection (Includes DDL and DML statement tracking)

    This feature is designed for MS SQL Server 2005\2008, but will work with MS SQL Server 2000 in limited scope. It has the ability to record and report on Incoming SQL. How to use the features: See

    Disclosure: I am part of the SQL SPY team.

提交回复
热议问题