Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Other Technologies / Replication / June 2006

Tip: Looking for answers? Try searching our database.

Field msrepl_tran_version added

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Roy Goldhammer - 14 Dec 2005 14:04 GMT
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?

Signature

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

Hilary Cotter - 14 Dec 2005 15:18 GMT
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?

Signature

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

> Hello there
>
[quoted text clipped - 4 lines]
> 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?
Roy Goldhammer - 14 Dec 2005 15:36 GMT
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?

> 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
[quoted text clipped - 8 lines]
>> 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?
Hilary Cotter - 14 Dec 2005 19:19 GMT
You will have to drop the constraints before dropping the column.

Signature

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

> Whell Hilary:
>
[quoted text clipped - 25 lines]
>>> 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?
Tejas Parikh - 14 Dec 2005 22:28 GMT
I'm sorry with my language. it's one constraint per msrepl_tran_version
column, not constraints...
Sorry.
Tejas Parikh - 14 Dec 2005 22:29 GMT
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

> Whell Hilary:
>
[quoted text clipped - 25 lines]
> >> 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?
Roy Goldhammer - 15 Dec 2005 09:04 GMT
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?

> 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
[quoted text clipped - 39 lines]
>> >> and
>> >> what i need to do so they won't be created again?
Hilary Cotter - 15 Dec 2005 15:23 GMT
You will have to drop your subscription before trying to make these changes.
Is this on the publisher or subscriber?

Signature

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

> Whell Tejas:
>
[quoted text clipped - 47 lines]
>>> >> and
>>> >> what i need to do so they won't be created again?
Roy Goldhammer - 17 Dec 2005 09:20 GMT
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?

> You will have to drop your subscription before trying to make these changes.
> Is this on the publisher or subscriber?
[quoted text clipped - 73 lines]
> >>> >> ???' 050-7709399
> >>> >> ??????: roy@atidsm.co.il
dl33ta - 30 Jun 2006 17:16 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.