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 |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2006-03-14 : 16:11:53
|
| Sachindra writes "Plz help to resolve my problemIf a large sentences are there in each field, and i have to select the field that have a specific word. How can i do this using select query.Suppose a field has sentence " Improve Data Security", and i search a word "Data", then the field containing "data" should return." |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2006-03-14 : 16:59:54
|
| select fldfrom tblwhere ' ' + fld + ' ' like '% data %'but what about "Improve Data."You can remove the space delimiter but then"Improve bedataring security"(can't think of a word with data in it).==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy. |
 |
|
|
|
|
|