BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Delphi 5 ADO and Sybase

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers)
View previous topic :: View next topic  
Author Message
Eduardo A. Salgado
Guest





PostPosted: Sat Oct 09, 2004 3:23 pm    Post subject: Delphi 5 ADO and Sybase Reply with 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
Aage Johansen
Guest





PostPosted: Sat Oct 09, 2004 9:36 pm    Post subject: Re: Delphi 5 ADO and Sybase Reply with quote



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





PostPosted: Mon Oct 11, 2004 1:00 pm    Post subject: Re: Delphi 5 ADO and Sybase Reply with quote



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:
Quote:
I used to use SqlDirect. Simple. No problems as far as I remember.
http://www.sqldirect-soft.com/



Back to top
Mark L. Tiede
Guest





PostPosted: Tue Nov 02, 2004 7:39 pm    Post subject: Re: Delphi 5 ADO and Sybase Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.