Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search field with SQL help

Status
Not open for further replies.

rocco

IS-IT--Management
Oct 30, 2001
106
CA
Hello,
I am a new to sybase an I would like to get some advice with sybase SQL.

I would like to do a search on a particular field in a table. Searching for any error message that is or the word 'err'

This is what I have but is returning nothing...but I know that I have some lines with err in them.

select * from sysaudits_02
where extrainfo = '%/*err*/%'

Thankssss....

 
Try

Code:
select * from sysaudits_02
where extrainfo like "%err%"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top