472,983 Members | 2,491 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,983 software developers and data experts.

Updating online SQL 2005 database from local database

I have my first small SQl Server 2005 database developed on my local
server and I have also its equivalent as an online database.

I wish to update the local database (using and asp.net interface) and
then to upload the data (at least the amended data, but given the
small size all data should be no trouble) to the online database.

I think replication is the straight answer but I have no experience of
this and I am wondering what else I might use which might be less
complicated. One solution is DTS (using SQL 2000 terms) but i am not
sure if I can set this up (1) to overwrite existing tables and (2) not
to seemingly remove identity attributes from fields set as identities.

I know there are other possibilities but I would be glad of advice as
to the likely best method for a small database updated perhaps once
weekly or at less frequent intervals,

Best wishes, John Morgan
Jan 30 '07 #1
3 4594

Since my first message I have investigated replication further and it
does not seem as complicated as first thought and I have successfully
carried out a snapshot replication on my local server.

the main disadvantage of replication now seems to be that my online
sql database provider charges $50 for providing a replication facility
(presumably for enabling a push subscription)

The payment is not significant providing replication is the way to to
go for the occasional updating of an online server from my local
server.

Best wishes, John Morgan
Tue, 30 Jan 2007 10:32:40 GMT, John Morgan <jf*@XXwoodlander.co.uk>
wrote:
>I have my first small SQl Server 2005 database developed on my local
server and I have also its equivalent as an online database.

I wish to update the local database (using and asp.net interface) and
then to upload the data (at least the amended data, but given the
small size all data should be no trouble) to the online database.

I think replication is the straight answer but I have no experience of
this and I am wondering what else I might use which might be less
complicated. One solution is DTS (using SQL 2000 terms) but i am not
sure if I can set this up (1) to overwrite existing tables and (2) not
to seemingly remove identity attributes from fields set as identities.

I know there are other possibilities but I would be glad of advice as
to the likely best method for a small database updated perhaps once
weekly or at less frequent intervals,

Best wishes, John Morgan
Jan 30 '07 #2
Hi John,

There are different ways and tools to accomplish what you need based on what
you feel comfortable with and what fits your update schedule:

1) As you mention replication will work. However, since you are updating the
data once a week or less frequently it might not be worth the effort to set
up and maintain replication.
2) The analog to DTS in SQL Server 2005 is SSIS (SQL Server Integration
Services). A simple way to create SSIS package to transfer your data is to
start the SQL Server Import and Export Wizard (just right click your
database and select Tasks, Export Data...) and follow the steps. On the
Select Source Tables and Views screen you can click "Edit Mappings". There
you have options to drop and re-create the destination tables and to enable
identity insert. At the end you can execute immediately or save it as SSIS
package to execute later.
3) Use the Database Publishing Wizard. It is designed for deployment of
local databases to remote hosting environments. The tool has both graphical
and command line interfaces, and there is a way that you can update your
database via a Web page. Here are more details:
Database Publishing Wizard:
http://www.codeplex.com/sqlhost/Wiki...shing%20Wizard
Scott Guthrie guides:
http://weblogs.asp.net/scottgu/archi...nt-part-1.aspx
http://weblogs.asp.net/scottgu/archi...-database.aspx

Regards,

Plamen Ratchev
http://www.SQLStudio.com
Jan 30 '07 #3

Thank yuou Plamen,

I am really grateful for your comprehensive reply, just what I was
hoping for. That gives me plenty to work on,

Beest wishes, John

On Tue, 30 Jan 2007 14:15:32 GMT, "Plamen Ratchev"
<Pl****@SQLStudio.comwrote:
>Hi John,

There are different ways and tools to accomplish what you need based on what
you feel comfortable with and what fits your update schedule:

1) As you mention replication will work. However, since you are updating the
data once a week or less frequently it might not be worth the effort to set
up and maintain replication.
2) The analog to DTS in SQL Server 2005 is SSIS (SQL Server Integration
Services). A simple way to create SSIS package to transfer your data is to
start the SQL Server Import and Export Wizard (just right click your
database and select Tasks, Export Data...) and follow the steps. On the
Select Source Tables and Views screen you can click "Edit Mappings". There
you have options to drop and re-create the destination tables and to enable
identity insert. At the end you can execute immediately or save it as SSIS
package to execute later.
3) Use the Database Publishing Wizard. It is designed for deployment of
local databases to remote hosting environments. The tool has both graphical
and command line interfaces, and there is a way that you can update your
database via a Web page. Here are more details:
Database Publishing Wizard:
http://www.codeplex.com/sqlhost/Wiki...shing%20Wizard
Scott Guthrie guides:
http://weblogs.asp.net/scottgu/archi...nt-part-1.aspx
http://weblogs.asp.net/scottgu/archi...-database.aspx

Regards,

Plamen Ratchev
http://www.SQLStudio.com
Jan 30 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Paige | last post by:
I have a database on my local machine that I make entries and corrections on. I'd like to be able to upload that to my server and have that update the database that's on the server. What I've been...
4
by: John Morgan | last post by:
I have Enterprise Manager on my local machine. For the last twelve months it has been connecting without problem to my online SQL Server database provided by my ISP. Three weeks ago the ISP...
3
by: | last post by:
Hello, I have created an ASP.NET 2.0 application that utilized a Gridview Control to display and update/delete data. The problem I am having is that the gridview control is displaying the data...
14
by: el_sid | last post by:
Our developers have experienced a problem with updating Web References in Visual Studio.NET 2003. Normally, when a web service class (.asmx) is created, updating the Web Reference will...
1
by: johnrou | last post by:
Here's a problem that I can't find anyone else has run into. I'm using Access and SQL Server, but the theory would be the same for any db. I have a large number of tables that contain linked...
1
by: RS200Phil | last post by:
Hi, I have managed to create a second copy of my "live" database, for software testing purposes. Inspecting the properties of the new database, everything seems in order. The logical file...
9
by: AG | last post by:
Using VS2005 Pro. I just deployed a ASP.NET 2.0 website (not web application) with the option to make it updatable. VS deployed all aspx, ascx files, but not all image or html files. It also...
6
rizwan6feb
by: rizwan6feb | last post by:
I have to develop a database application in vb.net 2005 with the following rules 1. The application connects with an online mysql database (i.e database resides on a remote machine) 2. The...
2
by: alex250374 | last post by:
Hi all, db2 9.1 fixpak 0 aix 5.3 I have a big problem every time I start an online backup with include logs via veritas comes out an error!!! The db2diag shows:...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.