[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Disable wildcard characters in trace filtering

Posted on 2006-06-13
3
Medium Priority
?
310 Views
Last Modified: 2012-05-05
Hello All,

How should I disable wildcard characters in NOT LIKE filter with trace sp_trace_setfilter or with profiler.
For example I would like to exclude table_ with filter '%table_%'
but not tabletest. How can I use _ (underscore) as a normal character but not wildcard.

With best regards,

Czibok

I need the answer very quickly so I give 300 points for the goal. :)
0
Comment
Question by:czibok
1 Comment
 
LVL 75

Accepted Solution

by:
Aneesh Retnakaran earned 1200 total points
ID: 16894185
Hi czibok,

%table[_]%'

Aneesh R!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question