By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,892 Members | 1,147 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,892 IT Pros & Developers. It's quick & easy.

Stop a Sql Command

P: n/a
How can I Stop a Sql Command ? (Fill, ExecuteReader, etc...).
Nov 16 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Unless you are using QueryAnalyzer, I think you can only kill the process
executing the command. I assume you are running the command from Visual
Studio

JIM
"Rogerio Jun" <Ro********@discussions.microsoft.com> wrote in message
news:AF**********************************@microsof t.com...
How can I Stop a Sql Command ? (Fill, ExecuteReader, etc...).

Nov 16 '05 #2

P: n/a
I want stop the sql command in c#.

Rogerio

"James" wrote:
Unless you are using QueryAnalyzer, I think you can only kill the process
executing the command. I assume you are running the command from Visual
Studio

JIM
"Rogerio Jun" <Ro********@discussions.microsoft.com> wrote in message
news:AF**********************************@microsof t.com...
How can I Stop a Sql Command ? (Fill, ExecuteReader, etc...).


Nov 16 '05 #3

P: n/a
And SQLCommand.Cancel() won't work?

JIM
"Rogerio Jun" <Ro********@discussions.microsoft.com> wrote in message
news:41**********************************@microsof t.com...
I want stop the sql command in c#.

Rogerio

"James" wrote:
Unless you are using QueryAnalyzer, I think you can only kill the process
executing the command. I assume you are running the command from Visual
Studio

JIM
"Rogerio Jun" <Ro********@discussions.microsoft.com> wrote in message
news:AF**********************************@microsof t.com...
> How can I Stop a Sql Command ? (Fill, ExecuteReader, etc...).


Nov 16 '05 #4

P: n/a
James

10x.

Rogerio

"James" wrote:
And SQLCommand.Cancel() won't work?

JIM
"Rogerio Jun" <Ro********@discussions.microsoft.com> wrote in message
news:41**********************************@microsof t.com...
I want stop the sql command in c#.

Rogerio

"James" wrote:
Unless you are using QueryAnalyzer, I think you can only kill the process
executing the command. I assume you are running the command from Visual
Studio

JIM
"Rogerio Jun" <Ro********@discussions.microsoft.com> wrote in message
news:AF**********************************@microsof t.com...
> How can I Stop a Sql Command ? (Fill, ExecuteReader, etc...).


Nov 16 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.