473,654 Members | 3,033 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Transactional Replication - Modifying Target Tables

Hi

I tried posting this query in microsoft.publi c.sqlserver.pro gramming but got
no response.

I am new to replication but I am trying to setup up a transactional
replication of tables from one database to another in MSSQL 2000 (SP2).

My target tables have primary keys defined. Under publication properties I
go to the snapshot tab and for each table I clear the check box that says
"Drop the existing table and re-create-it" and "clustered Indexes." On this
page the nothing is checked. for each table.

Whenever the subscription is reinitialized it drops the primary keys on my
target tables
and replaces them with a unique clustered index on the column that used to
be
the Primary key.

Is this normal? Is there anyway to stop it from doing this?

I don't plan to send the snapshot more than once and let transactional
replication take over for keeping my source and target in sync, but if I
ever have to reinitialize the subscription, it would seem that I (or
someone) will
have to take the a second step of manually dropping these clustered indexes
and recreating the primary keys on the target table.

Thanks in advance.

--
-Dick Christoph

--
-Dick Christoph
dc******@mn.rr. com
612-724-9282
May 2 '06 #1
2 2053
DickChristoph (dc********@yah oo.com) writes:
I tried posting this query in microsoft.publi c.sqlserver.pro gramming but
got no response.
Did you try microsoft.publi c.sqlserver.rep lication? That's where the
replication wiz people hang out.
I am new to replication but I am trying to setup up a transactional
replication of tables from one database to another in MSSQL 2000 (SP2).


SP2?

--
Erland Sommarskog, SQL Server MVP, es****@sommarsk og.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
May 2 '06 #2
Thanks Erland, I didn't know there was such a group. I'll go there now.

Yes SP2. Thats what I have I my home machine from an old MSDN Universal
subscription. But the problem is also happening where I just started
working. I assume they are more current although they are on SQL 2000.

--
-Dick Christoph
"Erland Sommarskog" <es****@sommars kog.se> wrote in message
news:Xn******** **************@ 127.0.0.1...
DickChristoph (dc********@yah oo.com) writes:
I tried posting this query in microsoft.publi c.sqlserver.pro gramming but
got no response.


Did you try microsoft.publi c.sqlserver.rep lication? That's where the
replication wiz people hang out.
I am new to replication but I am trying to setup up a transactional
replication of tables from one database to another in MSSQL 2000 (SP2).


SP2?

--
Erland Sommarskog, SQL Server MVP, es****@sommarsk og.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx

May 2 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1273
by: Edward | last post by:
Here is the architecture for the Transactional Replication: SERVER1 - PUBLISHER - Also acts as back-end database for Enterprise-wide application written in VB. Uses ~430 stored procedures. SERVER2 - SUBSCRIBER - Also acts as back-end database for Business Objects. Replication is set for immediate update.
0
1479
by: Stanislav Kester | last post by:
Hello all ! I have DB2 7.2.7 on AIX 5.2. I have defined replication of two tables from database1 to database2 (both databases are on the same DB2 node and in the same instance). But this replication is/nt working. Changed, or inserted rows on source tables are captured to capture tables on database1, but apply process is'nt applying these changes to target tables on databases2.
1
1849
by: Trent | last post by:
Hello, all. I'm having problem creating subcription sets for replication on UDB DB2 Express Edition 8 fp5 on Windows 2000 Server. I could not add member to the sets on the Source-To-Target Mapping. The Capture schema at target server is grayed out. It complained that "You have not specified the required properties for one or more members". Thus the OK button is also grayed out. I have been trying to find out what are the required...
5
4739
by: Norbert Munkel | last post by:
Hello, Replication setup: Server 1: DB2 UDB Express 8.2 on SuSE Linux SLES 8 Instance: db2inst2 database: master Server 2: DB2 UDB Express 8.2 on SuSE Linux SLES 8 Instance: db2inst1 database: slave
7
1999
by: Andy K | last post by:
Hi , I have an existing database (on a Linux Red Hat ES3) where the replication function exists but does not work because the target database has been shutdown months ago . My question is what will happens if i start the target database ? Will there be problems with the source database or the target database (decreasing performance or other kinds of problem )?
1
2401
by: Andy K | last post by:
Hi , Finally i was able to setup my replication process between two databases . For those who were not following my story , i was trying to setup a replication between two databases on different linux server (RH 7.3) for UDB 7.x . I did the capture with a : asnccp mong warm
0
1290
by: prashant | last post by:
Hi, I am trying to set up Transactional replication with immediate updation. The configuration is as follows: 1. Publisher is SQL server 2000 Enterprise Edition, and Distributor is on the same server. 2. Publisher SQL server is installed on Windows 2003.
3
2001
by: Veeru71 | last post by:
We have got 2 DB2-UDB databases (DB1 & DB2) running on separate instances( Inst1 & Inst2). DB1 has got Schema1 and DB2 has got Schema2. We would like to setup some kind of replication to replicate both Schema1 & Schema2 onto a 3 rd database (DB3) running on a 3 rd instance (Inst3). This is basically to separate out Data Reads (Reports module of the app) from the primary databases for performace reasons. Also, Some of the Reports join...
2
4233
by: Query Builder | last post by:
Hi, I have transactional replication set up on on of our MS SQL 2000 (SP4) Std Edition database server Because of an unfortunate scenario, I had to restore one of the publication databases. I scripted the replication module and dropped the publication first. Then did a full restore. When I try to set up the replication thru the script, it created the
0
8285
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8706
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8475
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6160
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4149
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4293
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2709
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1915
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1592
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.