How do I corrupt a SQL CE Database?
Posted
by Peter Tate
on Stack Overflow
See other posts from Stack Overflow
or by Peter Tate
Published on 2010-04-28T20:26:50Z
Indexed on
2010/05/23
3:10 UTC
Read the original article
Hit count: 423
sql-server-ce
|Corruption
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?
© Stack Overflow or respective owner