Forum Replies Created

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

  • RE: How to force drop database?

    What I ended up having to do was actually:

    SqlConnection.ClearAllPools();

    Then assign a SqlCommand to drop the table like I was originally doing:

    string sqlConn = ""; // your SQL Connection String...

  • RE: How to force drop database?

    Well, normally "DROP DATABASE" will also delete the physical files. In my case, I drop all tables first (which succeeds), then try to drop the database (which doesn't).

    The variation...

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