sql - Search List of Strings For String Match -


i trying create sql trigger alert me when user types in words. have working single word need working list of words. how can similar following, search list of words stored in other location.

where charindex('badword',body) > 0 

join badwords table , compare entries in list in trigger:

select     *     inserted i, badwords b     charindex(b.badword, i.body) > 0 

Comments

Popular posts from this blog

jQuery clickable div with working mailto link inside -

java - Getting corefrences with Standard corenlp package -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -