Thread: Tech Dumb SQL question
View Single Post
Old 09-07-2015, 12:09 PM  
drclockwork
Registered User
 
Industry Role:
Join Date: Sep 2015
Posts: 29
tl;dr: the code snippets.

It's been a little while since I've had to do any heavy lifting with MySQL, but if I recall correctly, when you use % in your database query, it assumes that you're looking for something before the beginning of the string. Therefore anything that starts with your string, and nothing before it, it will return 0 results.
drclockwork is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote