SQL Server: Filter output of sp_who2

后端 未结 13 2079
长情又很酷
长情又很酷 2020-12-02 03:49

Under SQL Server, is there an easy way to filter the output of sp_who2? Say I wanted to just show rows for a certain database, for example.

13条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-02 04:22

    A really easy way to do it is to create an ODBC link in EXCEL and run SP_WHO2 from there.

    You can Refresh whenever you like and because it's EXCEL everything can be manipulated easily!

提交回复
热议问题