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

x
?
Solved

Help!! Prob with starting merge replication...

Posted on 2003-12-09
4
Medium Priority
?
421 Views
Last Modified: 2012-05-04
Hi there. I want to try set up merge replication from one machine to another, but I dont want to bulk copy the tables as the data already exists in the other database. Ive been testing the scenario out on a basic DB. It has one table and has a uniqueidentifier and another char col. The other database I am replicating to has exactly the same data. The create tasble statement is here:
CREATE TABLE [dbo].[testTable] (
      [rowGUID]  uniqueidentifier ROWGUIDCOL  NOT NULL ,
      [val] [char] (10) COLLATE Latin1_General_CI_AS NOT NULL
) ON [PRIMARY]

When I try to start synchronising I get the following error:
Invalid column name 'rowguidcol'.

Any ideas on this?? On the real database all my tables use Uniqueidentifiers as the primary key just like the table above...
0
Comment
Question by:Slimshaneey
  • 3
4 Comments
 
LVL 8

Expert Comment

by:Dishan Fernando
ID: 9903075
is there any col like this >> rowguidcol
0
 
LVL 11

Author Comment

by:Slimshaneey
ID: 9903102
No, just 2 cols in the table. you can see them both if you look at the create table statement used for both databases
0
 
LVL 8

Accepted Solution

by:
Dishan Fernando earned 2000 total points
ID: 9903299
0
 
LVL 8

Expert Comment

by:Dishan Fernando
ID: 9903312
I am under the impression you selected "No, the subscriber already has
the schema and data." If the subscribing articles do have rowguid
columns, you will get this error message.  A solution would be to
initialize the schema and data at the subscriber or generate the
publisher's database script (if you previously had replication
configured) and apply it to the subscriber and then
select "No, the subscriber already has the schema and data. Hope that
helps.
>

0

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

Question has a verified solution.

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

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

773 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