The Process coult not execute 'sp_repldone/sp_replcounters' on 'XXXXX'....
HI I have configured the Transactional Replication in the cluster server 'XXXX' ,Once i fail over the server and get back to old node and check that the replication is not running. I get the following...
View ArticleSQL server Job failed as null values were tried to be inserted.
How can i make my job run without failure by making the stored procedure that the job runs to skip a null value?
View ArticleSQL script
Hi guys,I am running out of ideas on how to exclude records with letters in between right after dots like below.when i run the following script select mmatter ,SUBSTRING (mmatter,8,8),LEN(SUBSTRING...
View ArticleLog file not shrinking
Hi ExpertsI am very new to replication and need your expert advice to resolve a replication issue. The issue is log file not shrinking after the log backup.sys.databases's log_reuse_wait_desc column...
View ArticleHow can I move the distribution database to a new server?
I need to migrate an old distribution database to a new VM. My understanding is that you can detach/attach the distribution DB to make this easier. What are the 'gotchas' in this process? Do I need the...
View ArticleChange SQL display result (Group by Name)
My SQL query can show the following result: Name Project Date Peter A 2014-12-11 Peter C 2014-12-12 Peter D 2014-12-13 John B 2014-12-12 I want...
View ArticleNot display duplicate data in SQL table result
My SQL query can show the following result: Name Project Task Date Peter A 1 2014-12-11 Peter A 1 2014-12-12Peter C 1 2014-12-12Peter...
View ArticleTransactional Replication - Order of Replicated Tables
I have an issue with SQL Server Transactional Replication. My topology is as follows (and this cannot be changed, so I'm trying to work within the limitations that it has).I have a publisher database...
View Articlewhat is the alternative of peer to peer replication?
what is the alternative of peer to peer replication?Thanks
View ArticleWhat is the proper way to get back the Replicated data
Hello,I have replicated a database to another server. Suppose replication is from A to B.A and B databases are on different servers.Now if my server A fails and I want all of my data back to the A,...
View ArticleRename a table Published in Transactional replication
Hi All,I have replicated some table from Oracle(Publisher) to SQL server 2008 R2(Subscriber) and now i am trying to rename the published articles.I can do it using Drop article and then adding it back...
View ArticleProblem with bidirectional replication
Hi alli have a problem with a bidirectional transactional replication.when i create two replications : 1 from db A to db B and a second one from db B to db A , but not on the same tables , the...
View ArticleProblem with bidirectional Replication
Hi alli have a problem with a bidirectional transactional replication.when i create two replications : 1 from db A to db B and a second one from db B to db A , but not on the same tables , the...
View ArticleAdd the NOT FOR REPLICATION Option to Existing Tables
Hello, How to add the NOT FOR REPLICATION Option to Existing Tables( IDENTITY column,FOREIGN KEY constraints )- TSQL. Thanks, Kanna.
View Articlereplication scenario
hiwe have configured replication in environment, and it is running fine. Table 'X' in publisher size is around 1TB and the same table size in subscriber is 3TB,may I know the reason for this this...
View Articlesetup transactional replication with pull subscription using the option...
I am trying to setup transactional replication with pull subscription using the option @allow_initialize_from_backup = true and I am a bit confused on steps involved because at teh end of setup it...
View ArticleSQL Server 2012 Merge Replication - Delete operations on Merge Tables now...
Hi All,In reference to http://dba.stackexchange.com/questions/29141/why-do-replication-deletes-require-sysadmin-accessI have the same issue as reported in the above link. The immediate issue has been...
View ArticleViolation of PRIMARY KEY constraint 'PK_test'. Cannot insert duplicate key in...
Hi team,How resolve the below error Violation of PRIMARY KEY constraint 'PK_test'. Cannot insert duplicate key in object 'dbo.test'. The duplicate key value is (12610). (Source: MSSQLServer, Error...
View ArticleSQL Server 2008 R2 native replication with Column Level Collation
In my SQL Server 2008 R2 environment -Created a 'source' and 'target' database and altered the database collation as follows -In my SQL Server 2008 R2 environment -Created a 'source' and 'target'...
View ArticleReplication monitoring
I'm trying to turn on 'verbose' logging for a replication failure. We're running snapshot replication from Oracle to SQL Server. When I open 'Replication Monitor' I should see the snapshot agents,...
View Article