Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Issue explicit lock for testing
Message
From
12/09/2008 13:21:46
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01347107
Message ID:
01347135
Views:
31
>>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 ?

I'll try that. Thanks
Previous
Reply
Map
View

Click here to load this message in the networking platform