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 |
|
issammansour
Yak Posting Veteran
51 Posts |
Posted - 2007-10-01 : 14:22:14
|
| Hi,I am trying to search a multi words with “like” function using the following statement in a S.P.:@ITEM_desc nvarchar(10),@QUOTFIL nvarchar (200),@mfil nvarchar (500) = ''SET @mfil = QUOTENAME('%' + @ITEM_desc + '%','''')exec ('select * from ims.item where adesc like' + @mfil + @QUOTFIL)Nrormaly one word can be send to SP for searching, is there any way to send multi word for the like function to search Like follows:'%LOCAL%,%LIGHTS%' Best regards |
|
|
Kristen
Test
22859 Posts |
|
|
issammansour
Yak Posting Veteran
51 Posts |
Posted - 2007-10-01 : 14:38:33
|
| how the Free Word Search works |
 |
|
|
jsmith8858
Dr. Cross Join
7423 Posts |
|
|
|
|
|
|
|