• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 314
  • Last Modified:

Disable wildcard characters in trace filtering

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
czibok
Asked:
czibok
1 Solution
 
Aneesh RetnakaranDatabase AdministratorCommented:
Hi czibok,

%table[_]%'

Aneesh R!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now