Way to get open database cursors?
Mostrar comentarios más antiguos
Database toolbox Q here--if that ain't your kuleana, please ignore.
Say I've been "lazy" and/or "forgetful" and haven't been closing my cursors before wanting to close my database connection--is there a generic way to retrieve all open cursors so I can close them before attempting to close the connection?
Also, while I have "you" on the line: what's the difference between an "open" connection and a "valid" connection, i.e., the difference between a "false" result from isconnection and an error result from ping?
Thanks!
4 comentarios
David Goldsmith
el 5 de Sept. de 2012
Oleg Komarov
el 5 de Sept. de 2012
To my knowledge the only solution is NOT to be lazy or forgetful (but happy to be proved wrong)
David Goldsmith
el 6 de Sept. de 2012
David Goldsmith
el 7 de Sept. de 2012
Respuestas (0)
Categorías
Más información sobre Database Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!