|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Wednesday, May 15, 2013 2:33 AM
Points: 180,
Visits: 512
|
|
Hi Al, I want to restore a database from one server to another server. Can I restore a database with 8 datafiles as 2 data files on a different server? Is it possible?
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Today @ 10:01 PM
Points: 2,944,
Visits: 10,504
|
|
No.
A restore will create the same number of files and the same file sizes.
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Wednesday, May 15, 2013 2:33 AM
Points: 180,
Visits: 512
|
|
Then can I drop and recreate the DB with My choice of data files? But wait a min the how can I restore the data if its not possible..
What options do I have if I want reduce the data files....
|
|
|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Today @ 7:36 AM
Points: 5,201,
Visits: 11,153
|
|
Mac1986 (11/4/2012) Then can I drop and recreate the DB with My choice of data files? Are you referring to the source database??
Mac1986 (11/4/2012) But wait a min the how can I restore the data if its not possible..
What options do I have if I want reduce the data files.... Use this to empty and remove unwanted files on either the source or target databases
dbcc shrinkfile(logical_name, EMPTYFILE)
-----------------------------------------------------------------------------------------------------------
"Ya can't make an omelette without breaking just a few eggs"
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Today @ 10:01 PM
Points: 2,944,
Visits: 10,504
|
|
Mac1986 (11/4/2012) Then can I drop and recreate the DB with My choice of data files? But wait a min the how can I restore the data if its not possible..
What options do I have if I want reduce the data files....
What difference does it make how many files the database has?
What are you trying to accomplish?
|
|
|
|