Transactional replication: sql2000 version (both source and destination)
I have a table by name justtell which is configured for transactional replication from server1 to server4, srver5 and server6.
Now the app team is modifying this table, by creating a new table Justtell_test adding new columns to it and then inserting data from justtell table. Finally they are renaming the actual justtell table as justtell_old and new justtell_test table as justtell.
Can some one help me with the detailed steps I have to follow for replicating this schema changes. Below is the script
CREATE TABLE [dbo].[Justtell_test](
[ConnectID] [int] NOT NULL IDENTITY(1,1),
[LoginProviderUID] [varchar](100) NOT NULL,
[MemberID] [int] NULL,
[Wall_Reviews] [bit] NULL,
[Wall_Stories] [bit] NULL,
[Wall_Photos] [bit] NULL,
[Wall_Forum] [bit] NULL,
[Wall_Blog] [bit] NULL,
[Wall_Cheers] [bit] NULL,
--[msrepl_tran_version] [uniqueidentifier] NOT NULL,
[DisplayedPublishStream] [bit] NULL,
[LoginProvider] [varchar](100) NOT NULL,
CONSTRAINT [PK_Justtell_test] PRIMARY KEY CLUSTERED
(
[ConnectID] ASC
),
CONSTRAINT [IX_Justtell_LPID_MemberID_LP_Gigya] UNIQUE NONCLUSTERED
(
[LoginProviderUID] ASC,
[MemberID] ASC,
[LoginProvider] ASC
)) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
GO
insert into Justtell_test (LoginProviderUID,MemberID,Wall_Reviews,Wall_Stories,Wall_Photos,Wall_Forum,Wall_Blog,Wall_Cheers,DisplayedPublishStream,LoginProvider)
select FacebookUID,MemberID,Wall_Reviews,Wall_Stories,Wall_Photos,Wall_Forum,Wall_Blog,Wall_Cheers,DisplayedPublishStream,'facebook'from Justtell
GO
sp_RENAME 'Justtell' , 'Justtell_Old'
go
sp_RENAME 'PK_Justtell' , 'PK_Justtell_Old'
go
sp_RENAME 'IX_Justtell_FBID_MemberID' , 'IX_Justtell_FBID_MemberID_Old'
go
sp_RENAME 'Justtell_test' , 'Justtell'
go
sp_RENAME 'PK_Justtell_test' , 'PK_Justtell'
go
sp_RENAME 'IX_Justtell_LPID_MemberID_LP_Gigya' , 'IX_Justtell_LPID_MemberID_LP'
go
drop table Justtell_Old
GO