As much as it might make sense to think that if the police officer wrote the wrong information on your ticket that it would get automatically dismissed, that is not always the case. In fact, most of the time the judge will allow the officer to explain the circumstances and give them the benefit of the doubt when handing down their judgment – and generally it is not in favor of the defendant.
However, that being said, you can always use that incorrect information to your advantage when you are in court. The trick is to ask for a court date and then not inform anyone of the error on your ticket. You must actually use the information to your advantage when cross questioning the officer who gave you the ticket. For instance, if the officer marked on your speeding ticket that you were driving a two door car when you actually drive a four-door model, then you ask the officer leading questions getting him/her to describe your car. You get the officer to swear that all of the information on the ticket is true and then when the court is convinced that the officer has the official version of events, you pull out your ace and let everyone know that you actually drive a four-door car and how could the officer possibly know what speed you were driving at if s/he could not even notice the number of doors on your car? Once you can prove that one item on the ticket is in error, then it does throw everything on the ticket into question and you can, possibly, have your ticket dismissed on that basis.
Bear in mind, though, that if you are simply planning on walking into court and saying that the ticket is wrong because the officer got a few details wrong, then you are in for a big surprise. Not only will you be dismissed, but you will then be responsible for paying all of the court fees, which will boost the total of your ticket considerably. So, if you do want to contest your speeding ticket based on the wrong information that was written on it, then keep your cards close to your chest until the right moment and you just might get what you want.