Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Advice on SQL Server 2008 Replication

Posted on 2011-02-20
2
Medium Priority
?
280 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 2000 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

Hi all, It is important and often overlooked to understand “Database properties”. Often we see questions about "log files" or "where is the database" and one of the easiest ways to get general information about your database is to use “Database p…
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 Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

926 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