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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

querying a comments field

Status
Not open for further replies.

ad602000

IS-IT--Management
Jul 10, 2002
17
AU
Hi all I have inherited a query with which i am attempting to query a comments field. The following line looks at the field but i am getting a nil return and I know that there are words containing the letter between the wildcards. i am using sqlbase 7.5.1. here is the line of code

and @upper (@scan(tr.comments,200)) like '%prod%'


any help would be appreciated
pete
 
Any values in tr.comments that might have contained prod
have been set to uppercase by your statement.
You need;
and @upper (@scan(tr.comments,200)) like '%PROD%'

HTH



Dickie Bird (:)-)))
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top