I was actually rarely spanked as a child and never at school. My brother on the other hand was rather hard headed.I turned out OK even though I was never hit as a child.
My parents more often chose to ground us. Grounding last a lot longer than a spanking.