I had a dog once that was a problem digger. Not only was the yard full of holes but he would dig up things I had planted in the garden. One spring I had purchased a nice little shrub that he dug up immediately after I planted it. I replanted it and he dug it up again .... and again .... and again.
All dogs dig for one reason or another. Some dog breeds are actually bred to dig. They dig holes to lie down in and they dig to escape enclosures. Some dig because they are bored.
"The common trait for all of these breeds is that they dig because they find it gratifying" Dogtime: The dirt on dogs who dig
Dogs claws do other types of damage besides digging. Their scratching can do significant damage to hardwood floors and other surfaces - walls, window sills, doors and door frames. This can be of special concern if you are a renter. They can also cause serious injury to humans with their claws when they scratch bare skin.
It is natural for dogs to dig and scratch and both digging and scratching are common problems for dog owners. There are many experts offering advice about how to cope when these behaviours become a problem. One thing you won't see recommended for dogs to prevent damage due to unwanted digging or scratching is declawing.