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

query question

Status
Not open for further replies.

tyris

Programmer
Nov 2, 2000
311
FR
hi all,
i do have a field in a database called description. its type is text(up to 255 char). what i'd like to know is if there is a way to make a search of a text that could be included in this field.

for exemple to make a query like :

select * from myDB where description contains "a string"

is it possible ? Best regards X-),
Elise
 

Yes, it is possible. Use the Like predicate and the % wildcard in the criteria.

select * from myDB where description Like '%a string%' Terry

X-) "Life would be easier if I had the source code." -Anonymous
 
cool :eek:) thanks a lot Best regards X-),
Elise
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top