How do I corrupt a SQL CE Database?
- by Peter Tate
I want to be able to check for a corrupted database at startup, and then repair it programmatically. I can do that easily enough.
My problem is that I want to test that things work the way I expect. Does anyone know of a way to purposefully corrupt a database so I can test my code?