How can I manually introduce an integrity error into my database for the purpose of testing, without totally corrupting the database so that I can still run my program.
Updating with a more specific question...
The actual feature that I am testing runs DBCC CHECKDB and what I am testing is that it reports a failure to the user.