What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 127 Stack Exchange communities.

Possible Duplicates:
Should I ask a question I know the answer to?
Should I not answer my own questions?

I have posted a question, and then later I found the mistake and solution by myself. Can I give this as the answer to my own question? If I give that answer, what will happen?

share|improve this question

migrated from stackoverflow.com Jul 14 '11 at 6:47

This question came from our site for professional and enthusiast programmers.

marked as duplicate by Time Traveling Bobby, Cody Gray, Shadow Wizard, Jeff Atwood Jul 14 '11 at 8:01

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1  
belongs on meta.stackoverflow but yes you can –  Jesus Ramos Jul 14 '11 at 6:47
2  
@Bobby this is totally not a duplicate of that question.This guy finds a solution after asking. –  Bastardo Jul 14 '11 at 6:59
1  
@JohnnyCageWins: Yes, it totally is a duplicate. The same rules apply. Why wouldn't they? –  Cody Gray Jul 14 '11 at 7:14
    
@Cody there is a big difference between already knowing the answer and asking a question to share what you know and asking a question without any answers while you keep looking for an answer by yourself, too. –  Bastardo Jul 14 '11 at 7:25
add comment

5 Answers

up vote 4 down vote accepted

You can, but should consider several things first:

  1. If somebody else found the mistake and tried to solve it, you better let him Edit his answer with the correct fix then Accept it.
  2. If there are answers already but none is relevant then by all means, add your own answer with what you did to fix the problem and Accept it.
  3. If there are no answers and the question is "local", meaning not something generic that can be useful for others, then just Delete your question after putting comment you found the mistake, so that it won't get undeleted.

Edit:
Looks like the question in question falls into the 3rd category - you can click the "delete" link and as it has no answers, there will be no harm done.

share|improve this answer
    
Yes, this should be the accepted answer. It's very important to note that not all questions are created equal. If yours is based on a stupid mistake and is unlikely to help anyone else in the future of the Internet, you should just silently delete it. (Sorry, I'm all out of upvotes, though.) –  Cody Gray Jul 14 '11 at 7:16
    
@Cody the question at hand here is not likely to help anyone else, thus I believe it falls to the third category and better be deleted. By the way, good find of the real duplicate. –  Shadow Wizard Jul 14 '11 at 7:20
    
Right, I was agreeing with you. :-) –  Cody Gray Jul 14 '11 at 7:22
    
@Cody I gave half an upvote for ya –  jonsca Jul 14 '11 at 7:38
    
lol @jon - thanks! –  Shadow Wizard Jul 14 '11 at 7:45
add comment

Yes you can, just click the mark that says this is the correct answer

share|improve this answer
add comment

Yes you can. You can also accept it.

Depending on your reputation, you might have to wait a bit before you can do either of those, but it's perfectly acceptable, and welcome.

share|improve this answer
add comment

You can accept your own answer, and if it is the correct solution this is even wanted: other can easily see the solution to the question at a glance (especially important if there are already wrong/incomplete answers that might even have a higher vote than your answer and thus will be shown before your answer; lots of readers would miss your answer if you didn't mark it as such).

share|improve this answer
add comment

It is possible to answer your own question and accept it as your solution.It is actually a great thing to answer your own question, when your question didn't get enough views or answers or you couldn't get a solution from SO, because that question will have a solution below it and other people will benefit from it.You have to wait for some time to accept your answer to your own question like 2 or 3 hours or days, you will see it when you click the tick.

I have done it a couple times.

could not translate expression into sql

Local sequence cannot be used in LINQ to SQL implementations of query operators except the Contains operator

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged .