General information
Forum:
Microsoft SQL Server
Environment versions
SQL Server:
SQL Server 2005
Thank you.
>You can open transaction and use Locking Hints with a query to simulate locks (XLOCK for exclusive locks).
>
>>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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only