DROP TABLE @MyTable - possible?

  • No, you can't do this. There is nothing wrong with the described use of a table variable, so don't worry about it.

    Table variables are just like any other local variable, and are cleaned up automatically when they go out of scope. You can't clean them up yourself explicitly.

    Ryan Randall

    Solutions are easy. Understanding the problem, now, that's the hard part.

  • Thanks very much!

     

    Bill.

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

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