You are not logged in.
It would depend on the library you use.
If you use FireDAC, there is a parameter for that.
If you use ZDBC or ODBC, try to use auto-reconnection.
But what is your exact use case?
Please make a search in this forum.
You may find e.g. http://synopse.info/forum/viewtopic.php?id=3044
Offline