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!