Quantcast
Channel: SQL Server Migration forum
Viewing all articles
Browse latest Browse all 1700

Best way to move databases to new drive - Detach or Offline??

$
0
0

 I know this question is all over, but I get mixed results - some say the best way is to detach, other's say to bring the databases offline after moving the location of the files with TSQL..

I have a database server in which it was set up with about 7 different databases (Citrix, an small Sharepoint, some other software)....my question is, what is the best way to move the database to a different drive? Users cannot be connected executing statements, so how does SQL server handle that? Do I have to do something special or will SQL allow them to finish their transactions and then kick them?

What is the benefit versus the other? If I do detach, will that mess up the DB such as citrix from functioning because it isn't registered with the server briefly and then re-registered? Just need some guidance on the best way - I know how to do each way..

Thanks!


Viewing all articles
Browse latest Browse all 1700

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>