DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Stephen has posted 20 posts at DZone. View Full User Profile

Searching Within A MySQL Db For Records Containing Given Text (e.g. Search Boxes)

11.17.2008
| 464 views |
  • submit to reddit
        Ideal for searching for matching text within MySQL db

SELECT JokeText FROM Jokes WHERE JokeText LIKE "%chicken%";