Solved

SQL SERVER 2000 Replication over the INTERNET

Posted on 2007-03-24
5
137 Views
Last Modified: 2013-12-05
I have 4 retail stores. I want to write a simple login program in VB6 to enable staff to login. I have no experience with ASP and wish to use VB6 with SQL server 2000 in each store and backoffice.
So that my backoffice adminstrator and all store managers have access to the data for each store is it doable to have replication working in each store VIA the INTERNET to update all data LIVE.
0
Comment
Question by:excelclothing
  • 3
  • 2
5 Comments
 
LVL 16

Expert Comment

by:rboyd56
Comment Utility
Yes you can replicate over the Internet.  About the only condition is that the respective servers have to be able to connect to each other.

If you need to update data at all sites then merge replication is probably the best bet.

One caveat is that merge will add a rowguid column with a unique identifer data type to each table if there is not a column with a unique identifer already established.

Since this is the case you will need to make sure your applications takes that into considration.
0
 
LVL 16

Expert Comment

by:rboyd56
Comment Utility
One other thing, the data will not be live, there will always be a latency period. The amount of latency is dependent on the network and other factors.
0
 

Author Comment

by:excelclothing
Comment Utility
I will be coding in VB6 and using an ADO connection to each local SQL server.

There will not be a great amount of data going across the INTERNET, however is there a recommended record lock setting I should use for the connect string, ( I'm a rookie programmer, not an expert !) ?

Is it fairly easy to set up the various SQL servers to replicate to each other?

0
 

Author Comment

by:excelclothing
Comment Utility
Thanks of that. Normally what time period should I expect for a latency period. Would it be in seconds or minutes for each record??
0
 
LVL 16

Accepted Solution

by:
rboyd56 earned 125 total points
Comment Utility
It depends on the network and the amount of data that is being replicated. Merge replication makes use of triggers and stored procedures to replicate the data. If you establish joins between the tables that are being replicated, in the publication  then it will take longer for the data to be replicated. There is no way I can give you an exact answer. There are too many variable.

Merge replication is not that difficult to set up. ONce again it depends on how complex you wan to be. Books on Line has excellent documentation on how to set it up.

As for locking, replication should have very little impact on this, so you should not have to do anything special.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

744 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now