Is there a way way move Databases files w/o taking the DB offline?

  • I want to move some DB files to a different drive, but not sure how to do that w/o taking the DB's offline. Is that possible?

  • I don't think its possible. Always detache a database that is currently not in use.

    SQL DBA.

  • You can't move live database files to a different drive. You can move data to a different drive, by moving the clustered indexes, but even that creates locks on tables and might be worse than taking the DB offline.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • Thanks for the advice gentlemen.

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

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