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 difference between “Web.config” and “Machine.Config”?

0 Answers  


What is http post action?

0 Answers  


What is viewstate? What does the "enableviewstate” property do? Whay would I want it on or off?

0 Answers  


When you are running a component within ASP.NET, what process is it running within on Windows XP? Windows 2000? Windows 2003?

0 Answers   BirlaSoft,


How to sign out from forms authentication?

0 Answers  






What is the other method, other than GET and POST, in ASP.NET?

3 Answers  


What is the difference between dispose() and finalize()?

0 Answers  


What is clr? Difference between clr & cts?

0 Answers  


can i inherit one web applications into another web applications in asp.net?

7 Answers  


What r new things introduced in ASP.NET 2.0 in comparision to ASP.NET 1.1

1 Answers  


why security trimming attribute?

1 Answers  


How do you remove duplicates without using remove duplicate stage?

0 Answers  


Categories