![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
| SELECT * FROM table1 |
#3
| |||
| |||
|
|
Hopefully, you posted this question to the SQL Server Programming group, since it relates to SQL queries. Will there always be just 1 column: 'column1' in table1, with the word that is to be found - in that case, you could use charindex(): SELECT * FROM table1 WHERE charindex(table1.column1, @String) > 0 - Deepak Deepak Puri Microsoft MVP - SQL Server *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
![]() |
| Thread Tools | |
| Display Modes | |
| |