Categories
How to update c#/mssql?
for one field "test" in c# do
UPDATE T SET f1 = 1, f2 = 1, f3 = 1, f4 = 1 WHERE s='test';
Answer the question
In order to leave comments, you need to log in
The request is correct. If it crashes on a lock, then the same operation is taking place somewhere else, or the table/row was locked earlier. Perhaps you are running code in parallel and the threads are interfering with each other.
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question