Solved

Advice on SQL Server 2008 Replication

Posted on 2011-02-20
2
264 Views
Last Modified: 2012-05-11
Our company currently has a 6GB SQL Server database running on SQL Server 2008 R2 Enterprise, its a fair size as it stores various documents and files in tables using the IMAGE data type, we also store large amounts of text in tables using the NTEXT data type.  We currently have around 30 users on the network at our head office.  As a company we are now branching out and looking at setting up regional offices in the UK.  We anticipate having around 10 offices in total within 2-3 years.  At each branch office there will be around 4-5 users and will be connected to head office be way of a 1MB VPN.  Ideally we would like an SQL Server at each of the branch offices with a real-time copy of the database which can be updated from any location and all branches including head office are in sync with a full copy of the database.  I am currently setting up our first branch office and have implemented Transactional Replication with Updatable Subscriptions.  I am a newbie to SQL replication though and i am wondering whether or not i have chosen the right path to go down...  The problem i currently face is that an error is being displayed when trying to updated the database from the branch office, the data types IMAGE and NTEXT apparently cannot be used in this scenario.  I am wondering whether we should be using Merge Replcation instead or whether we need to move over to different data types.  Your help would be very much appreciated.
0
Comment
Question by:jambomambo
2 Comments
 
LVL 26

Accepted Solution

by:
tigin44 earned 500 total points
ID: 34937521
The architecture you are palnning will work.

You should change the data type image to varbinary and ntext to nvarchar(max).. Microsoft will not support that data types in the future.. Them are in sql 2008 only for the backward competibility reason.

0
 

Author Comment

by:jambomambo
ID: 34937963
Thanks for your response. Can you suggest the best way to convert the existing data types considering the replication has already been setup. Also would there been any data loss in the process?
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

This is basically a blog post I wrote recently. I've found that SARGability is poorly understood, and since many people don't read blogs, I figured I'd post it here as an article. SARGable is an adjective in SQL that means that an item can be fou…
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

820 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