473,402 Members | 2,072 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Replicate between to MSSQL 2000 Servers

Hello

I have 2 locations, that each has an MSSQL 2000 server.
Since the locations are to far from each other and the connection is
very slow.

My thought was to have a database on both servers that should replicate
“on the fly” or as asynchronous sync.

The problem is that both locations work in the database frequently. So
it’s very important that there are no duplicate IDs.

Is that possibly and how?
~Peter
Mar 2 '06 #1
4 1554
Peter,

What datatype are you using for your IDs and how are you generating
your IDs?

Dave

Mar 2 '06 #2
Peter wrote:
Hello

I have 2 locations, that each has an MSSQL 2000 server.
Since the locations are to far from each other and the connection is
very slow.

My thought was to have a database on both servers that should replicate
“on the fly” or as asynchronous sync.

The problem is that both locations work in the database frequently. So
it’s very important that there are no duplicate IDs.

Is that possibly and how?
~Peter


the database drives an HelpDesk/ServiceDesk system.

since it is to slow to use on the same database from the other location
, the plan was to make a dtabase on both locations that replicates.

How it generates the id and where/wich type. I do not no.
There must be over 300 tables on that database.

~Peter

Mar 2 '06 #3
The problem is that there is no way (until you work out how keys are
generated) of ensuring that duplicate keys are not created. If they're
created as a uniqueidentifier you could potentially use merge
replication but you need to understand the schema of your database to
do this and work out which tables you need to replicate.

I think the key to solving this problem is working out how your keys
are generated.

Mar 2 '06 #4

"Peter" <SP**@Changer.dk> wrote in message
news:44***********************@dreader1.cybercity. dk...
Hello

Look at Merge Replication and at a mechanism that ensures your keys are
unique.

If it's only two locations somtimes it's easiest to have location one start
at 1 and count up and location two start at -1 and count down.

I have 2 locations, that each has an MSSQL 2000 server.
Since the locations are to far from each other and the connection is
very slow.

My thought was to have a database on both servers that should replicate
“on the fly” or as asynchronous sync.

The problem is that both locations work in the database frequently. So
it’s very important that there are no duplicate IDs.

Is that possibly and how?
~Peter

Mar 3 '06 #5

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

Similar topics

4
by: Samuel | last post by:
I am building an web application that will be hosted on load balanced servers (multiple front and one backen db). The application will have to allow users to upload files onto the server. For...
2
by: Chris Auer | last post by:
Hopeing this is something I can accomplish. I use MS-SQL for close to 100 CMS web servers. Everytime I create a new website I have to create a new database and then use the export from SQL to SQL...
1
by: Uli | last post by:
Dear group, I have to replicate remote data to a SQL Server in the headquarter. The data are on a site which does not have permanent online-connection to the headquarter. I have written a...
1
by: interuser | last post by:
I have a football school mdb used at the following locations: 1. office 2. home of owner 3. training fields Once a day (eg morning) all mdbs must be replicated. Since none of the pcs is online...
3
by: gharmel | last post by:
I'm trying to get some clues on why I get (much) slower responses from my PHP applications when dealing with a remote sql server as opposed to a local sql server. Here's my situation: Server...
4
by: kenneth.osenbroch | last post by:
Hi, I have a MSSQL Server communicating with an Oracle database through a MSSQL linked server using a MS ODBC connection. If I query the Oracle database through the Oracle ODBC 32Bit Test, the...
16
by: davemateer | last post by:
Hi We have a current system: Linux / Apache / PHP4.x talking to Microsoft SQL 2000 Thinking about going to: Windows 2003 / PHP4.x talking to the same Microsoft SQL 2000 box...
2
by: grandmasterneil | last post by:
I have a couple of servers here at work that run IIS, MSSQL, and ASP.NET. I have PHP installed and running via Apache on my laptop. I was wondering if I can run code on my laptop (PHP/Apache)...
0
by: Derftics | last post by:
Hi Guys, Is there anyone who have tried installing MSSQL 2000 and MSSQL 2005 servers in one desktop computer? I have tried using MSDE and successfully install the MSSQL 2000 server but when I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.