Click here to Skip to main content
15,881,709 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Robert May our GOD Bless You and All your Works , I found Your Excellent and Useful article dated Saturday, October 30, 2010
Robert to perform a restore using SMO example that does a Full database restore of the SMO database from the file D:\SMOTest.bak, replacing the database it it already exists .
But if You please My Question is : " if database.mdf Does Not exist As someone Do format for C:\ ; How can I restore from the file D:\SMOTest.bak it is Very important to Reply; Because I master instead ?
George Aziz
[Edit]Removed e-mail[/Edit]
Posted
Updated 6-Oct-12 4:30am
v2
Comments
Kenneth Haugland 6-Oct-12 10:30am    
Dont post you e-mail here, unless you really like spam.
[no name] 6-Oct-12 10:43am    
If you have a question on an article you really should be asking in the article's forum instead of here. Posting here relies on the author just happening by and seeing that the is a message for them.

1 solution

Don't post this under Quick Answers - if you got the code from an article, then there is a "new message" button at the bottom of that article, which causes an email to be sent to the author. They are then alerted that you wish to speak to them.
Posting this here relies on them "dropping by" and realising it is for them.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900