Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
sanjay5219
Posting Yak Master
240 Posts |
Posted - 2014-05-16 : 08:57:07
|
Hi All,Is there any way in SQL to find out bad words in comments.I have created one intranet mailing system and team wanted to search of people who are using abusive words. |
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2014-05-16 : 12:00:28
|
WHERE SomeColumn LIKE '%badword%' OR ...If you have a table that contains the words, then:FROM Table1 tJOIN BadWordList b ON t.SomeColumn LIKE '%' + b.BadWord + '%'Tara KizerSQL Server MVP since 2007http://weblogs.sqlteam.com/tarad/ |
|
|
|
|
|