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

Search for a word or phrase using sql statement

Status
Not open for further replies.

zl

Programmer
Apr 20, 2001
3
US
Hello:
How do you write an sql statement to search for a word or phrase in an ASP application? Thank you.
 
can you elaborate more on what exactly you're trying to do?

eg: are you searching your DB, or all the ASP files that you have, or a combination of the two?
 
You mean in the database?

Something like this...

SELECT ProdNum, Title
FROM SWprods
WHERE (((Title) Like "*4100*"));

This will search for all instances of 4100 in the Title no matter what part of the title it is in. Mary :)

Rule 1: Don't sweat the small stuff.
Rule 2: EVERYTHING is small stuff!! X-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top