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

How you will manage the state of ASP.NET controls?

0 Answers   Sans Pareil IT Services,


Explain ViewState?

0 Answers   QuestPond,


How does asp.net work?

0 Answers  


What are the components of ado.net?

0 Answers  


what is CTS?

3 Answers   PrimeLine,






What are the memory-mapped files?

0 Answers  


Is asp.net different from asp? If yes, explain how?

0 Answers  


how to retrieve data using web services in asp.net pls give me the code and explain me briefly

3 Answers  


What are the security types in asp.net?

0 Answers  


what is cross page posting

3 Answers  


Why is xap important?

0 Answers  


how to create bin folder in asp.net2.0

8 Answers  


Categories