July 14, 2009 at 4:53 am
Im running batch of query using c# code.
each query is seperated by(;). When i excecute some deadlock type condition occurs.
Batch can be anything like
select * from tbl1;Update tbl2...; declare cursor... etc
So can we stop execution of batch if this contains (;)
July 14, 2009 at 5:56 am
Instead of running batch of query using C# code,
create a stored procedure with all these queries and call the stored procedure from the C# code.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply