16
cuervo
7y

Guy I work with messaging me: Hey could you check my SQL syntax to get the date part for the month and year.

Me thinking: Ughhh this is going to be something stupid I know it. Why doesn't he just check it himself?

I check it... 2 queries that are very, very, very... simple... and similar except one returns last year (2017) and the other returns the current year (2018)

Me: Not sure what your issue is... I'm not getting any syntax errors. They are executing

Him: Well it shouldn't show 2017, it should show 2018

Me thinking: learn to debug you lazy fuck

Me: Well you're adding a -1 to your year...(Not sure why your even adding to it if your just getting the current month and year)

Him: Oh you're correct! That makes sense

Waste of my time

Comments
  • 6
    SQL can be so simple that people lose their minds when they have to use it and have no idea what they’re doing for some reason.
  • 1
    @turturtles if only that were the case with this guy. He doesn't read his SQL scripts at all... What he does is search for a query online to do what he wants and if it doesn't give him what he wants, he will then just ask me why it's not working without even trying to debug it or read through what he copied
Add Comment