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 |
|
mschelling
Starting Member
2 Posts |
Posted - 2005-01-10 : 12:17:20
|
| Is it possible to have a single or combination LIKE condition(s) that will find the following. media - (on a separate line by itself)the media is - (in a string) television media. - (followed by a period or comma)But at the same time not find immediate (within a word)Mike |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2005-01-10 : 12:50:17
|
select * fromMyTablewhere col1 like '%[ ]media%' -- you can add allowed chars at the begining in the square brackets.Go with the flow & have fun! Else fight the flow |
 |
|
|
mschelling
Starting Member
2 Posts |
Posted - 2005-01-10 : 13:25:53
|
| Mucho thanko. I'm going with the flow. |
 |
|
|
|
|
|