I'm new here and I don't know what are the guidelines for correcting answers given by the others.
The situations that happened to me: I opened the question and saw three answers. In all of those answers it was the same mistake. I didn't want to add comment to all three of them, so I gave my own, 4th answer with correct piece of code. 2 minutes later all of that answers were corrected and I got downvoted twice. I don't understand why, because I just wanted to help the guy who asked the question and my suggestion was used to correct that answers.
How should I correct the answers next time and not to be downvoted?
Question is here. As you can see it is rather basic question and I didn't want to downvote the others because the mistake was in "USE DatabaseName". I deleted my answer, because I didn't want to get more downvotes :-) Besides all the answers were corrected so I have achieved my goal ;-)