Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving a filegroup into another location
Message
From
30/03/2011 01:06:45
 
General information
Forum:
Microsoft SQL Server
Category:
Scripting
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01505453
Message ID:
01505456
Views:
27
>See http://msdn.microsoft.com/en-us/library/bb522469.aspx
>
>and there
>To move a data file or log file to a new location, specify the current logical file name in the NAME clause and specify the new path and operating system file name in the FILENAME clause. For example:
>
>Copy
> MODIFY FILE ( NAME = logical_file_name, FILENAME = ' new_path/os_file_name ' )
>When you move a full-text catalog, specify only the new path in the FILENAME clause. Do not specify the operating-system file name.
>
>For more information, see Moving Database Files.

I got confused at first because I thought about a FileGroup syntax while I had to search for a File syntax. I posted Message #1505455 while you were writing this one.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform