Can''t reattach db. How can I delete it through the back door ?

  • I created a new db then deattached it, but after messing around with the physical files I cannot reattach any longer. I can't use Drop Database because it tells me that it either doesn't exist or I don't have permissions.

    select

    * from sys.sysdatabases  doesn't show the db because it was deattached. How can I delete the database permanently ? What system table do I need to modify manually to remove my db ?

    Thank you,

    Bob

  • If your database is not attached to an instance, you can just delete the physical files through Windows Explorer. 

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • Wow. Now why didn't I think of that ?

    It worked out just fine.

    Thank you,

    Bob

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

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