Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

update error

Posted on 2010-09-03
8
Medium Priority
?
306 Views
Last Modified: 2012-05-10
the previous update command does not execute

i get this error
Error: SQLSTATE[HY000]: General error: 0 [Microsoft][SQL Native Client]Connection is busy with results for another command (SQLExecute[0] at ext\pdo_odbc\odbc_stmt.c:133)


is there a way to set a command to stop the other command
0
Comment
Question by:rgb192
8 Comments
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 33596041
what is the service pack of the installed version?
0
 

Author Comment

by:rgb192
ID: 33596090
sp3
0
 
LVL 12

Accepted Solution

by:
HugoHiasl earned 2000 total points
ID: 33596102
You cannot have lets say a datareader open when you try to update the database with another command object using the same connection.

If there is another command object open or the result set, that still will be fetching data, you cannot use the same connection for another command.


0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:rgb192
ID: 33596188
maybe there is locking

i want to stop previous command so i can run new command
0
 

Author Comment

by:rgb192
ID: 33596192
or maybe I can pause and wait
0
 

Expert Comment

by:ateeq0malik
ID: 33596305
windows 7 is the latest windows so it doesnt have  any service pack with it..
0
 

Author Comment

by:rgb192
ID: 33596583
????
0
 

Author Closing Comment

by:rgb192
ID: 33612960
I closed the connection.
thanks
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
Data architecture is an important aspect in Software as a Service (SaaS) delivery model. This article is a study on the database of a single-tenant application that could be extended to support multiple tenants. The application is web-based develope…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question