Closing a Database connection but the socket remains Established

4 visualizaciones (últimos 30 días)
Matthew Hewitt
Matthew Hewitt el 25 de Ag. de 2017
Editada: Matthew Hewitt el 25 de Ag. de 2017
When I attempt to use the close() function on a ODBCConnection it does not always close the connection socket to the sql server. When looking at the SQL server it still has the connection as Established. Unfortunately I am unable to provide any code snippets but I am wandering if there is a separate function to close sockets or if something is holding the connection open and if so is there a way to detect the failure of the close function.
The connections themselves only close when the matlab environment is quit.

Respuestas (0)

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by