Recently, a poster submitted a question and, after a search inside a long single line sql query text, I (and others) have found the typographical error that originated its error.
Of course, I have voted to close the question as a simple typographical error
, but I have also written a very short answer (I admit that this answer will be of no great use to future readers, unless they stumble on it searching for the exact error string)
Another user wrote a comment implying that giving an answer on a typo is not a good thing. (At least, I am implying that its comment is a request to not write answers in these cases)
I am now questioning myself if, in these contexts, the right behavior is to not give any kind of answer limiting myself to a simple comment or still give the answer and vote to close the question.