BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

restore database question

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers)
View previous topic :: View next topic  
Author Message
Terry
Guest





PostPosted: Thu Dec 04, 2003 5:06 pm    Post subject: restore database question Reply with quote



I know this is not a delphi question. Perhaps someone can answer it, or
direct me to the right place.

I have a backup of a micosoft sql database in a zip file from server A. I
want to get the data on server B. ( the two servers are not connected. ) I
unzipped the file into a directory and using the sql analyzer I created the
following

Restore database dbname
from Disk = 'd:datadatafile'
move 'dbname_primary' to 'c:program filesmicrosoft sql servermssqldata'

I am getting an error
incorrect syntax near 'move'

Any help would be appreciated.


Back to top
Brian Hollister
Guest





PostPosted: Thu Dec 04, 2003 5:43 pm    Post subject: Re: restore database question Reply with quote



Quote:
Restore database dbname
from Disk = 'd:datadatafile'
WITH
move 'dbname_primary' to 'c:program filesmicrosoft sql
servermssqldata'




Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.