Microsoft
Software
Hardware
Network
Question : specify destination logical filename in restore command?
if the existing backup's data file name is AVIMS_Data, but if you want to it to be named as SRSBV_Data through the tSQL code, how could you add to the foll:
RESTORE DATABASE [SRSBV] FROM DISK = N'C:\AVIMS.bak' WITH FILE = 1, MOVE N'AVIMS_Data' TO N'C:\SRSBV.mdf', MOVE N'AVIMS_log' TO N'C:\SRSBV.ldf', NOUNLOAD,REPLACE, STATS = 10
thanks
Answer : specify destination logical filename in restore command?
See Restoring a Complete Backup to a New Database on the Same Server
http://technet.microsoft.c
om/en-us/l
ibrary/
cc9
66495.aspx
#E5AA
Random Solutions
Export mailbox excluding contacts
Issues installing Crystal Report Viewer with cxlibw-1-6.dll Using Package and deployment VB6 and Crystal Version 10
editing CSV file in VB. Visual Studio 2010 used.
EditIndex property of the gridview does not work
Shell scripting
Not a single group-group function
How do I automatically move to the next cell when I enter a single-digit number?
Calling PHP Function from Javascript - Ext-JS
Refreshing Worksheets
How to monitor ReadyBoost usage?