3

apI want to use TextData Like filter in the SQL Server profiler with multiple conditions to filter queries that contains any of the words. I have used OR conditions but it's not working. How can I use it? Example - %Column1% OR %Column2%

9
  • You need to use OR Commented Jan 17, 2020 at 10:44
  • I have added OR condition but it's not filtering data Commented Jan 17, 2020 at 10:46
  • 2
    Please show your query (where you use or) Commented Jan 17, 2020 at 10:46
  • Image updated to question Commented Jan 17, 2020 at 10:50
  • So you have not used OR, but you put "OR" in a literal string. What you need is WHERE [SOMETHING] LIKE '%somevalue%' or [SOMETHING] LIKE '%someOtherValue%' Commented Jan 17, 2020 at 10:52

1 Answer 1

6

The following illustration will help to solve your issue. Multiple Filtering

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.