Solved

Disable wildcard characters in trace filtering

Posted on 2006-06-13
3
292 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
3 Comments
 
LVL 75

Accepted Solution

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

%table[_]%'

Aneesh R!
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SSIS On fail action 5 37
Access join syntax when converting to T-SQL query 4 33
SQL Query 2 31
SQL Recursion schedule 13 14
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
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 ?
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Viewers will learn how the fundamental information of how to create a table.

809 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