Board index » delphi » MSSQL 6.5 D 3.01 Too many connections!!!

MSSQL 6.5 D 3.01 Too many connections!!!

Hi All

We have developed a system in Delphi 3.01 using BDE 5.0 and working with
MSSQL 6.5. The
system is based upon TTables components, which all are connected to the
DataBase through
ONE TDataBase component.
Despite Delphi's help, declaring that using one TDataBase result in one
connection, we noticed
that there are many connections (approximately one for each TTable). We
also noticed that even
when closing the TTable and freeing it, the connections is still there
in "Sleeping" status.

If someone of you there know how to reduce the amount of connections, we
will really appreciate it, since we can't deploy the system as a result
of all of those connections.

Thanks in advance,

Ronen Kertis.

P.S. We know that TQuery does not cause this problem, but this is not an
option for us to
convert the system to use TQuery.

 

Re:MSSQL 6.5 D 3.01 Too many connections!!!


Why is it not an optioin for you to convert this system to TQueries?

On Sat, 15 Aug 1998 17:45:12 +0300, Ronen Kertis

Quote
<rone...@netvision.net.il> wrote:
>Hi All

>We have developed a system in Delphi 3.01 using BDE 5.0 and working with
>MSSQL 6.5. The
>system is based upon TTables components, which all are connected to the
>DataBase through
>ONE TDataBase component.
>Despite Delphi's help, declaring that using one TDataBase result in one
>connection, we noticed
>that there are many connections (approximately one for each TTable). We
>also noticed that even
>when closing the TTable and freeing it, the connections is still there
>in "Sleeping" status.

>If someone of you there know how to reduce the amount of connections, we
>will really appreciate it, since we can't deploy the system as a result
>of all of those connections.

>Thanks in advance,

>Ronen Kertis.

>P.S. We know that TQuery does not cause this problem, but this is not an
>option for us to
>convert the system to use TQuery.

Re:MSSQL 6.5 D 3.01 Too many connections!!!


Ronen,

I haven't heard of anyone really solving this problem.

Why is using TQuery not an option?

Regards,
Richard

Other Threads