Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / DB Engine / SQL Server / September 2008

Tip: Looking for answers? Try searching our database.

Backup Database

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
shapper - 30 Sep 2008 05:35 GMT
Hello,

What is the best way to create a backup of an SQL 2005 database on my
hosting server?

A side question:

I have an SQL database with 4 tables.
On one of the tables I added one new column and deleted another.

How can I download the data from the old database version I have on my
server and place the data on the columns of the new table that still
exist?

Thanks,
Miuel
Eric Isaacs - 30 Sep 2008 08:00 GMT
> What is the best way to create a backup of an SQL 2005 database on my
> hosting server?

The best method will be largely determined by the authority that the
hosting company grants you on the server.  Contact the hosting company
and ask them for a backup or how to do it yourself within their
environment.

> How can I download the data from the old database version I have on my
> server and place the data on the columns of the new table that still
> exist?

Assuming you have BOTH databases on the same SQL Server, you can just
INSERT the data from the old database.tablename into the new
databasename.tablename.

INSERT newdatabasename.newtablename
(
  col1name,
  col2name,
  col3name.
)
SELECT
   col1name,
   col2name,
   col3name
FROM
   olddatabasename.oldtablename

Alternately you could just alter the old database to drop the one
column and add the new column, which might be easier for you??

- Eric Isaacs
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.