April 10, 2012 at 5:30 am
How to search Words From row using SQL Query?
April 10, 2012 at 6:23 am
Ajith 42213 (4/10/2012)
How to search Words From row using SQL Query?
a Row has more than one column...if you mean searching all the char/varchar/nchar columns in a given table, the recommended solution is Full Text indexing.
any other solution requires an a table scan of the entire table, which would be slow by comparison, and would get slowere as the table gets bigger.
the query would look something like ...WHERE col1 LIKE @word + '%' OR col2 LIKE @word + '%' col3 LIKE @word + '%'
If that's not what you were asking, cna you re-phrase the question?
Lowell
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply