Groups | Blog | Home
all groups > sql server replication > december 2005 >

sql server replication : Field msrepl_tran_version added


Hilary Cotter
12/14/2005 10:18:07 AM
You have to run a script to drop them. These columns are using by immediate
updating or queued updating publications. Have you need of these
publications?

--
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com

[quoted text, click to view]

Hilary Cotter
12/14/2005 2:19:54 PM
You will have to drop the constraints before dropping the column.

--
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com

[quoted text, click to view]

Tejas Parikh
12/14/2005 2:28:55 PM
I'm sorry with my language. it's one constraint per msrepl_tran_version
column, not constraints...
Sorry.
Tejas Parikh
12/14/2005 2:29:09 PM
There are default contraints on that field. You'll have to drop those
constraints bfore dropping the column itself. you should do a select on
sysobjects to find the default constraints like '%df_%_msrepl%'. i would
assume, replication is not in place(immediate updating or queued updating).
Once you drop the constraint, it lets u drop the column.

HTH

Tejas

[quoted text, click to view]
Roy Goldhammer
12/14/2005 4:07:17 PM
Hello there

I've create transacional replication from two databases. At the publisher
new field added to all the tables i mark as replicated: msrepl_tran_version

It cause damage to my database. What i need to do to ged rid of them? and
what i need to do so they won't be created again?

--
øåòé âåìãäîø
òúéã äðãñú úåëðä
èì' 03-5611606
ôìà' 050-7709399
àéîééì: roy@atidsm.co.il

Roy Goldhammer
12/14/2005 5:36:03 PM
Whell Hilary:

When i tried to delete the field by this code?

ALTER TABLE Client
DROP COLUMN msrepl_tran_version

I got an error:
Server: Msg 5074, Level 16, State 1, Line 1
The object 'DF__Client__msrepl_t__02FED618' is dependent on column
'msrepl_tran_version'.
Server: Msg 4922, Level 16, State 1, Line 1
ALTER TABLE DROP COLUMN msrepl_tran_version failed because one or more
objects access this column.

how can i delete these records?

[quoted text, click to view]

Hilary Cotter
12/15/2005 10:23:31 AM
You will have to drop your subscription before trying to make these changes.
Is this on the publisher or subscriber?

--
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com

[quoted text, click to view]

Roy Goldhammer
12/15/2005 11:04:47 AM
Whell Tejas:

It gives me new error: ALTER TABLE DROP COLUMN failed because
'msrepl_tran_version' is currently replicated.

Now what i need to get rid of that, or what i need to cause it not be
created again?

[quoted text, click to view]

Roy Goldhammer
12/17/2005 11:15:45 AM
Whell Hilary:

It is on the Publisher

And it also addes me new tables Conflict....

I've chosed to use Transactional replication, and it act like merge
replication.

This is realy bad.

What i need to do to use replication without changing the database
Publisher?

[quoted text, click to view]

dl33ta
6/30/2006 11:16:19 AM

If anyone has this pain again please remove replication as much as yo
can and then delete all the mofo msrepl_tran_version rows fro
syscolumns

--
dl33t
-----------------------------------------------------------------------
dl33ta's Profile: http://www.dbtalk.net/m48
View this thread: http://www.dbtalk.net/t22702
AddThis Social Bookmark Button