SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

Move one Filegroup to another

By Tobias Kiemes, 2009/08/19

Total article views: 536 | Views in the last 30 days: 23

Please take a look at configuration in the script:

/**************************************************************************
* Configuration
*/

-- filegroup from which tables will be removed
SET @SRC_FILEGROUP = 'PRIMARY'

-- filegroup to which tables will be moved
SET @DEST_FILEGROUP = 'FG_DATA'

-- schema, for which the action will be done
SET @SCHEMA_NAME = 'stage'

/*
* End Configuration
*************************************************************************/

By Tobias Kiemes, 2009/08/19

Total article views: 536 | Views in the last 30 days: 23
Your response
 
 
Related Articles
FORUM
FORUM

Filegroup

Filegroup

FORUM

Filegroup

Filegroup

FORUM

configuration

configuration

FORUM

Filegroup problem!

Filegroup problem!

Tags
admin    
administration    
filegroup    
move    
 
Contribute

Free registration required...

To read the rest of this article, and access thousands of other articles, we ask you to register on the site and subscribe to our newsletters.

Login (existing users)

Login

Email:   Password:   Remember me: Forgotten your password?

Register (new users)

Register

Email:   Password:
Confirm:

Subscribing to our newsletters gets you:

  • ALL of our content (thousands of articles, scripts, and forum postings)
  • A daily newsletter (example)
  • A weekly news round up (example)
  • The opportunity to ask and answer questions in our forums
  • A daily Question of the Day to test and help you increase your knowledge of SQL Server.

Steve Jones
Editor, SQLServerCentral.com