hi im shailendra singh
my question is how we deploye the data base

Answers were Sorted based on User's Feedback



hi im shailendra singh my question is how we deploye the data base..

Answer / sanjay gupta

You can copy the .mdf and .ldf files and you can attached
the database in the destination server. To do so follow the
following procedure.
1. Stop SQL services in the current server.
2. Copy the two files (viz. .ldf and .mdf) form the source
directory.
3. start the SQL services.
4. Login to the destination server and past the file inside
the data folder of SQL root folder.
5. Start MS SQL Management studio. on the left hand pannel,
right click on the Database folder and click on Attach...
6. Clock on the add button appearing on the attach database
window and select the appropriate .MDF file. Once you
select click on the ok button.

Reach me at sanjaygupta@gmail.com for further information.

Is This Answer Correct ?    3 Yes 0 No

hi im shailendra singh my question is how we deploye the data base..

Answer / rahul

http://weblogs.asp.net/scottgu/archive/2006/12/22/recipe-deploying-a-sql-database-to-a-remote-hosting-environment-part-1.aspx
please refer to this link.

Is This Answer Correct ?    0 Yes 0 No

hi im shailendra singh my question is how we deploye the data base..

Answer / amit kumar saini

We have to have a SQL script of the database and then we
will create a new database through the script.
Now we have a blank database with same structure and
relationships etc.
Then we can either export/import the data.

Or we can restore the database from a copy of orignal
database backup.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What is the result when the Web Form containing the following line is complied and executed? <asp:Button id=?thebutton? onClick=?theEvent? /> a) The button control is created; theEvent is the click event handler. b) Compiler error; the control must be set to runat=?server?. c) Compiler error; onClick is not a valid attribute. d) Runtime Exception; the control must be set to runat=?server?.

3 Answers   Syntax Softtech,


what is wwf in asp.net?

3 Answers  


How can we create pie chart in asp.net?

0 Answers  


What is view state? where it stored? can we disable it ?

1 Answers  


Explain the difference between globalization and localization techniques

0 Answers  






How many types of page.

5 Answers   TCS, Verinon Technology Solutions,


What is custom control. What is the difference between custom control and user control?

2 Answers   Microsoft,


Does google crawl redirects?

0 Answers  


What is the difference between ASP Session State and ASP.Net Session State?

0 Answers  


What is a WebService and what is the underlying protocol used in it? Namespace?

1 Answers  


How does Garbage collector(GC) works in .net

14 Answers   Accenture, HCL, Kekran Mekran, People Tech, Wipro,


What is the Impprsonation?and what is the importence of that?

3 Answers   eXensys,


Categories