Stop SQL query execution from .net Code

后端 未结 3 696
小蘑菇
小蘑菇 2020-11-27 23:08

I\'m executing one stored procedure from the \'.net\' code. Since there is a lot of data, it is taking too much time to execute. Is there any way to stop this execution from

3条回答
  •  醉话见心
    2020-11-27 23:22

    You can do myCommand.Cancel(), and this will work best as even i have face similar issue in past, and using myCommand.Cancel() i have solved my issue. :) :)

提交回复
热议问题