Wrox Programmer Forums
|
SQL Server 2005 General discussion of SQL Server *2005* version only.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 5th, 2009, 03:17 AM
Authorized User
 
Join Date: Dec 2006
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Default xp_restore_database

Hi,

can someone please explain me the commands used in this query. It would be great if you could send some useful links on them.

xp_restore_database @database = 'xxx',
@filename = 'filename1.bkp', @filename = 'filename2.bkp', @filenumber = '1', @with = 'RECOVERY', @with = 'REPLACE', @with = 'NOUNLOAD', @with = 'stats = 10', @with = 'move N''xxx'' TO N ''xxx.mdf'''
@logging = 2, @affinity = 0

Thanks in advance.
__________________
Thanks,
Chandra









Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.