Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Relocate database
Message
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
00401562
Message ID:
00401699
Views:
21
Moved like a champ... Thanks

>>What is the best and fastest way to relocate a database? I’m using SQL7. The data is currently located in the default SQL directory. I need to move it to a larger local drive..
>
>1. sp_detach_db 'mydatabase'
>2. Move the database
>3. sp_attach_db 'mydatabase','myfilename'
>
>HTH.
Previous
Reply
Map
View

Click here to load this message in the networking platform