Solved

SQL SERVER 2000 Replication over the INTERNET

Posted on 2007-03-24
5
143 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
[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
  • 3
  • 2
5 Comments
 
LVL 16

Expert Comment

by:rboyd56
ID: 18785833
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
ID: 18785836
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
ID: 18785854
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
ID: 18785859
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
ID: 18786073
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

726 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