| View previous topic :: View next topic |
| Author |
Message |
Eduardo A. Salgado Guest
|
Posted: Sat Oct 09, 2004 3:23 pm Post subject: Delphi 5 ADO and Sybase |
|
|
Doing some maintenance on a program using Delphi 5 ADO and running Sybase.
Seeing some disconnect problems after several hits to the database.
Using "disconnect" from the database to eliminate the dreaded "Resource
governor for prepared statements exceeded." But it is a klunky way
around the problem. And I still cannot hit the database with queries
many times in succession without breaking.
What is the most reliable way to have Delphi 5 communicate with Sybase?
- Eduardo
The main thing is to keep The Main Thing the main thing.
-- Hyrum W. Smith
|
|
| Back to top |
|
 |
Aage Johansen Guest
|
Posted: Sat Oct 09, 2004 9:36 pm Post subject: Re: Delphi 5 ADO and Sybase |
|
|
Eduardo A. Salgado wrote:
| Quote: | Doing some maintenance on a program using Delphi 5 ADO and running Sybase.
Seeing some disconnect problems after several hits to the database.
Using "disconnect" from the database to eliminate the dreaded "Resource
governor for prepared statements exceeded." But it is a klunky way
around the problem. And I still cannot hit the database with queries
many times in succession without breaking.
What is the most reliable way to have Delphi 5 communicate with Sybase?
|
I used to use SqlDirect. Simple. No problems as far as I remember.
http://www.sqldirect-soft.com/
--
Aage J.
|
|
| Back to top |
|
 |
Eduardo A. Salgado Guest
|
Posted: Mon Oct 11, 2004 1:00 pm Post subject: Re: Delphi 5 ADO and Sybase |
|
|
Thanks!
- Eduardo
The main thing is to keep The Main Thing the main thing.
-- Hyrum W. Smith
Eminent Domain Software
"Custom Software Development For Your Domain"
Makers of EDSSpell, EDSPrint, EDSZipCodes and
XSpell, the IDE Expert.
Aage Johansen wrote:
|
|
| Back to top |
|
 |
Mark L. Tiede Guest
|
Posted: Tue Nov 02, 2004 7:39 pm Post subject: Re: Delphi 5 ADO and Sybase |
|
|
Eduardo,
I believe it was Sybase that I was using that seemed to keep some
recordsets open, even after I closed the ADOQuery or ADODataset.
I finally just set the Connection of the Query or Dataset to nil after
the Close and that cleared something up. I could then just reassign the
connection property to my connection object, and everything seemt to work
fine. You might want to try that.
"Eduardo A. Salgado" <eas (AT) onedomain (DOT) com> wrote
| Quote: | Doing some maintenance on a program using Delphi 5 ADO and running Sybase.
Seeing some disconnect problems after several hits to the database.
Using "disconnect" from the database to eliminate the dreaded "Resource
governor for prepared statements exceeded." But it is a klunky way
around the problem. And I still cannot hit the database with queries
many times in succession without breaking.
What is the most reliable way to have Delphi 5 communicate with Sybase?
- Eduardo
The main thing is to keep The Main Thing the main thing.
-- Hyrum W. Smith
|
|
|
| Back to top |
|
 |
|