Question : Find a string in a MSSQL database table in a particular column

I need to create a SQL script that finds a string in a table.

use MYDATABASE

select top 100*
from myLoggingTable

????
So, in the myLoggingTable there is a column named MyErrorMessages. I want a script that gets to this column of the table and searches for a string.

So the data in the entire column might be a long string like this:
"HostServer=MYSERver, ERRORMESSAGE=ERROR login failed at the password level"

I want to be able to search for the word login and have it return any row with the word "login" in it, including the one above. but, i only want it to search the one column if possible.

Thanks.

Answer : Find a string in a MSSQL database table in a particular column

Hi,

Yes, because it is trying to load one of the broken .mov files (AntrimIntro.mov).

If you can get all the .mov files to play it will work ok.

Chris.
Random Solutions  
 
programming4us programming4us