>I am working on exception handling code in our .Net app.
>
>In VFP I could open another session of VFP and issue a Record or Table lock to test exception handling.
>Is there any way to do something similar in SQL Server using SMSS? Just looking for an easy way to get an update or insert to fail.
>All of our CRUD operations use SPs.
>
>Thanks
If you open the table in SSMS, make a change to the record, but not move pointer, would it simulate a lock ?
If it's not broken, fix it until it is.
My Blog