Both loaded with frangible rounds. They pack a punch but dissipate their energy laterally very quickly. If you hit the target you do damage. If you miss, they won't penetrate the walls.

I know a cop who shot a perp six times with a .38 at about 6 feet. Every shot hit the target. The 6th shot took him down. He lived.