Upon receiving a verdict or plea of guilty for a misdemeanor, a court having jurisdiction of the defendant, if satisfied that the ends of justice and the best interest of the public as well as the defendant will be served thereby, may, without entering a judgment of guilt, and with the consent of the defendant, suspend the imposition of sentence and place the defendant on probation for such period and upon such terms and conditions as the court may deem best. No person who has previously been granted, whether in this state or any other, a suspended imposition of sentence for a misdemeanor, is eligible to be granted a second suspended imposition of sentence for a misdemeanor. A court may revoke such suspension at any time during the probationary period and impose and execute sentence without diminishment or credit for any of the probationary period.
SDCL 23A-27-12.2