Solved

How do I move my SQL database from my old web host to my new web host

Posted on 2008-10-16
3
267 Views
Last Modified: 2012-05-05
I have a database installed from a program in a book. Initially installling it and getting it working fine.  Now 9 months later a new host has bought out my original host and now nothing is working on my web site as a whole and the company who bought out the first host has given me so many problems that I have decided to move to another host.  The new host that bought the old host has given such bad support it is unreal.  So, here is my problem I am ditching my current (very bad) host to a new host and I need to move my SQL data and database.  It seems that I can generate scripts that would get all of the database components into a scripts, but the data is not scripted to carry over.  I read other posts like this one where the person who provided the solution state create the database and restore a .bak file.  I tried to do this but it seems it did not work for some reason, maybe because the main database names are not the same or something.  So I am here to get answers from experts like you.  I am a very knowledgeable programmer but some what a novice to Microsoft SQL server.  I need an answer quickly.

Tony...
0
Comment
Question by:CGIAMETTA
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 13

Accepted Solution

by:
sm394 earned 500 total points
ID: 22736986
Download this freel tool by Microsoft for publishing Data
http://www.codeplex.com/sqlhost/Wiki/View.aspx?title=Database%20Publishing%20Wizard

Then
in Wizard if you just want to generate data insert statements
set the following options

uncheck Script all object
Next
Schema qualify= False
Types of data to publish =Data only

end result is data script which you can execute on new Database

The tool can also generate scripts for other objects in the database ie. Tables

0
 
LVL 1

Author Closing Comment

by:CGIAMETTA
ID: 31506974
That worked for me Thank you very much.  Sorry it took so long had trouble with time to just get in there and do what you described.
0
 
LVL 13

Expert Comment

by:sm394
ID: 22806999
Glad your problem resolved
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Sql Permission 6 74
View SQL 2005 Job package 16 77
Please help for the below sql query. 1 29
Need to merge 3 large tables into one Table in SQL server 2 26
So every once in a while at work I am asked to export data from one table and insert it into another on a different server.  I hate doing this.  There's so many different tables and data types.  Some column data needs quoted and some doesn't.  What …
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question