Although I think my problem has mainly to do with my connection settings, I try my luck here anyway.
I have a table in which I want to update various records. The update statements take ages to complete. My test database is very small. The biggest table has 50 records.
When the update statement is 'running' I can access the other tables in SQL data manager but not the 'updating' one.
In SQL server I can see various process assigned to the asp_webuser. When I kill them I can access the table again.
<code>
Tlist <handlingCue> lst = DataProvider.HandlingCueProvider.getByUserId(userId);
foreach( HandlingCue c in lst)
{
c.isHandled = 1;
dataprovider.HandlingCueProvider.Update(c);
}
</code>
I know I can also do this by a trigger or writing my own stored procedure. I want to keep the deployment as easy as possible.
And the loop above will rarely have 2 or more records. So I thought this approach was acceptable :)
Any ideas / hints what might be wrong ?
Regards,
--W