I have a SQL table with a 20 to 30 columns that I need to to search. I've set up the free text search so that I can run queries such as:
Select * from dbo.table1 where Contains(*,'asdf');
The problem is I don't know which column actually contains 'asdf' is there a straightforward way to get the specific column(s)?
EDIT
The result I'm looking for would be similar to the following:
Record Number | ColumnFoundIn
5 columnA
100 columnB
244 columnA
250 columnF
The original table has a unique record number for each row, so I would like the record number and then the column where 'asdf' was found.