dbTalk Databases Forums  

How to move data files

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss How to move data files in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
MarcinS
 
Posts: n/a

Default How to move data files - 08-06-2003 , 03:45 AM






hello,

my problem is how to move data files drom drive c: to drive d: ??


--

MarcinS


Reply With Quote
  #2  
Old   
Ray Higdon
 
Posts: n/a

Default Re: How to move data files - 08-06-2003 , 04:43 AM






restore database dbname from disk = 'e:\...' with replace,
move 'db_data' to 'd:...',
move 'db_log' to 'd:...'

HTH

Ray Higdon MCSE, MCDBA, CCNA

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

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.