View Single Post
  #3 (permalink)  
Old 08-26-2008, 10:18 AM
Unregistered
 
Posts: n/a
Default Re: New SQL Statement without re-opening connection

Quote:
Originally Posted by coyotemrh View Post
I have an sql routine that is pretty slow. I think the problem is that everytime I run the update, the open is re-establishing the server connection.
Anyway to keep the server connection open? Kind of like a requery command, but requery only refreshes the data as I understand it ...

Have you used "Begin Tran" and "Commit Tran" in your SQL routine???

Thanks
Sandesh S
Microsoft SQL Server
Reply With Quote