Simple use of SQL Server Profiler query tracking

Source: Internet
Author: User
Tags management studio sql server management sql server management studio

1. Open SQL Server Management Studio, select Tools->sql Server Profiler, or direct from path: Start/program/microsoft SQL Server R2/performance Tools/sql Server Profiler.

2. After connecting to the database, directly open the tracking new interface, or in the path: file--New tracking under Add tracking, connect to the database

3. Click on the Event Selection page, select the event, tick the columns that need to be displayed so that the columns are displayed when the tracking is made;

4. Just look at the database that the current user needs to view, this uses the column filter function, click on the "Column filter", select the column to be set, enter the condition,

For example, if you look at a database with a database ID of 6,DatabaseID is a unique identifier for each database, the statement select db_id (' _testdbname ') can be queried, and of course the DatabaseName column is filtered. Please set your own for other needs.

You can also set:textdata similar to:%select%t_usertable% so that you can navigate to the table name.

5.

6. OK, run.

Simple use of SQL Server Profiler query tracking

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.