Cursor Close Deallocate

  • I read a book that said if you are not going to use the cursor anymore you don't have a specify close and then deallocate. It said you just have to deallocate it.

    Then I looked at other books and they said to close it and then deallocate it.

    If you are not going to use the cursor any longer do you need to close it and then deallocate it or just simple deallocate it.

    Thank You for you help!

  • Well if writting a few letters of code is not a problem, I would said you close it and then deallocate it. If you only close it, you can still open it, but once you deallocate it, then you have to re create it, because it is erased from memory. I would said, that closing and then deallocating is the right way to delete the cursor.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply