Aug 7, 2001 #1 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.
Hello: How do you write an sql statement to search for a word or phrase in an ASP application? Thank you.
Aug 7, 2001 #2 vasah20 Programmer Feb 16, 2001 559 US 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? Upvote 0 Downvote
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?
Aug 7, 2001 #3 Telsa Programmer Jun 20, 2000 393 US 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-) Upvote 0 Downvote
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-)