nemonoman;10564295 wrote:Au Contraire.
I stumbled across this forum thread after remembering my old username and poking through a google search. I was still only a few years into programming when I had originally asked this question, but I've been doing it ever since and for the last eight years or so, it's been my day job.
I was cringing while reading my original question - of course that was a horrible database design to begin with and it wasn't my query I had trouble with, it was trying to band-aid the database problem. Could have easily solved the issue by separating the area code, prefix, and suffix into separate columns and querying those.
As the thread continued I was quite surprised to see myself be a big dick and claim my database design was totally efficient and I was so smart, blah blah.
I don't even remember this particular issue but I do know which project it was.
Anyway, sorry for being a jerk. Hope 9 years later is ok, lol.