dbTalk Databases Forums  

use SSMS to relocate data/log files ?

microsoft.public.sqlserver.tools microsoft.public.sqlserver.tools


Discuss use SSMS to relocate data/log files ? in the microsoft.public.sqlserver.tools forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: use SSMS to relocate data/log files ? - 09-15-2008 , 04:46 PM






John A Grandy (johnagrandy-at-gmail-dot-com) writes:
Quote:
Sql Server 2005 : Can SSMS be reliably used to relocate data ( .mdf ) and
log ( .ldf ) files ?
Exactly what in SSMS did you intend to use? The Copy Database Wizard can
do this for you, although "reliable" is not really the association I make
when I think of CDW. Then again, the attach/detach method appears to work;
it's the SMO method which is buggy.

Personally, I would recommand using sp_detach_db and CREATE DATABASE FOR
ATTACH, rather than trying to second-guess GUI:s.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #12  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: use SSMS to relocate data/log files ? - 09-15-2008 , 04:46 PM






John A Grandy (johnagrandy-at-gmail-dot-com) writes:
Quote:
Sql Server 2005 : Can SSMS be reliably used to relocate data ( .mdf ) and
log ( .ldf ) files ?
Exactly what in SSMS did you intend to use? The Copy Database Wizard can
do this for you, although "reliable" is not really the association I make
when I think of CDW. Then again, the attach/detach method appears to work;
it's the SMO method which is buggy.

Personally, I would recommand using sp_detach_db and CREATE DATABASE FOR
ATTACH, rather than trying to second-guess GUI:s.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #13  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: use SSMS to relocate data/log files ? - 09-15-2008 , 04:46 PM



John A Grandy (johnagrandy-at-gmail-dot-com) writes:
Quote:
Sql Server 2005 : Can SSMS be reliably used to relocate data ( .mdf ) and
log ( .ldf ) files ?
Exactly what in SSMS did you intend to use? The Copy Database Wizard can
do this for you, although "reliable" is not really the association I make
when I think of CDW. Then again, the attach/detach method appears to work;
it's the SMO method which is buggy.

Personally, I would recommand using sp_detach_db and CREATE DATABASE FOR
ATTACH, rather than trying to second-guess GUI:s.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #14  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: use SSMS to relocate data/log files ? - 09-15-2008 , 04:46 PM



John A Grandy (johnagrandy-at-gmail-dot-com) writes:
Quote:
Sql Server 2005 : Can SSMS be reliably used to relocate data ( .mdf ) and
log ( .ldf ) files ?
Exactly what in SSMS did you intend to use? The Copy Database Wizard can
do this for you, although "reliable" is not really the association I make
when I think of CDW. Then again, the attach/detach method appears to work;
it's the SMO method which is buggy.

Personally, I would recommand using sp_detach_db and CREATE DATABASE FOR
ATTACH, rather than trying to second-guess GUI:s.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #15  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: use SSMS to relocate data/log files ? - 09-15-2008 , 04:46 PM



John A Grandy (johnagrandy-at-gmail-dot-com) writes:
Quote:
Sql Server 2005 : Can SSMS be reliably used to relocate data ( .mdf ) and
log ( .ldf ) files ?
Exactly what in SSMS did you intend to use? The Copy Database Wizard can
do this for you, although "reliable" is not really the association I make
when I think of CDW. Then again, the attach/detach method appears to work;
it's the SMO method which is buggy.

Personally, I would recommand using sp_detach_db and CREATE DATABASE FOR
ATTACH, rather than trying to second-guess GUI:s.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #16  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: use SSMS to relocate data/log files ? - 09-15-2008 , 04:46 PM



John A Grandy (johnagrandy-at-gmail-dot-com) writes:
Quote:
Sql Server 2005 : Can SSMS be reliably used to relocate data ( .mdf ) and
log ( .ldf ) files ?
Exactly what in SSMS did you intend to use? The Copy Database Wizard can
do this for you, although "reliable" is not really the association I make
when I think of CDW. Then again, the attach/detach method appears to work;
it's the SMO method which is buggy.

Personally, I would recommand using sp_detach_db and CREATE DATABASE FOR
ATTACH, rather than trying to second-guess GUI:s.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #17  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: use SSMS to relocate data/log files ? - 09-15-2008 , 04:46 PM



John A Grandy (johnagrandy-at-gmail-dot-com) writes:
Quote:
Sql Server 2005 : Can SSMS be reliably used to relocate data ( .mdf ) and
log ( .ldf ) files ?
Exactly what in SSMS did you intend to use? The Copy Database Wizard can
do this for you, although "reliable" is not really the association I make
when I think of CDW. Then again, the attach/detach method appears to work;
it's the SMO method which is buggy.

Personally, I would recommand using sp_detach_db and CREATE DATABASE FOR
ATTACH, rather than trying to second-guess GUI:s.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #18  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: use SSMS to relocate data/log files ? - 09-15-2008 , 04:46 PM



John A Grandy (johnagrandy-at-gmail-dot-com) writes:
Quote:
Sql Server 2005 : Can SSMS be reliably used to relocate data ( .mdf ) and
log ( .ldf ) files ?
Exactly what in SSMS did you intend to use? The Copy Database Wizard can
do this for you, although "reliable" is not really the association I make
when I think of CDW. Then again, the attach/detach method appears to work;
it's the SMO method which is buggy.

Personally, I would recommand using sp_detach_db and CREATE DATABASE FOR
ATTACH, rather than trying to second-guess GUI:s.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #19  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: use SSMS to relocate data/log files ? - 09-15-2008 , 04:46 PM



John A Grandy (johnagrandy-at-gmail-dot-com) writes:
Quote:
Sql Server 2005 : Can SSMS be reliably used to relocate data ( .mdf ) and
log ( .ldf ) files ?
Exactly what in SSMS did you intend to use? The Copy Database Wizard can
do this for you, although "reliable" is not really the association I make
when I think of CDW. Then again, the attach/detach method appears to work;
it's the SMO method which is buggy.

Personally, I would recommand using sp_detach_db and CREATE DATABASE FOR
ATTACH, rather than trying to second-guess GUI:s.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.