1.查询 DataBasesID

select db_id('regdatas')

SQL Server 脚本跟踪

2.获取进程ID

SQL Server 脚本跟踪

3.过滤定位

SQL Server 脚本跟踪

相关文章: