Way to get open database cursors?

조회 수: 1 (최근 30일)
David Goldsmith
David Goldsmith 2012년 9월 5일
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
David Goldsmith
David Goldsmith 2012년 9월 6일
OK, but that still leaves me wondering, then: is a close(conn) failure the only way to detect a close(curs) failure? Thanks.
David Goldsmith
David Goldsmith 2012년 9월 7일
I've submitted "enhancement requests" for a cursor.isopen method and a connection.getOpenCursors method. They've been acknowledged, time will tell...

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by