SQL Server - Manual Upload of Data from Subscriber to Publisher Database

Asked By Manoj Rastogi
27-Jan-10 02:44 PM
Hi,
We are using Merge replication between SQL Server 2005 and 2005 Express
edition. Sometimes due to retention period or someother issues  we are not
able to sync the data. I am working on utility to do the data upload to
publisher database. So far we are able to create all the required sql
statements including the disabling of identity_range constraints. But it
looks the moment first insert is executed the replication triggers are fired
and they enable the identity_range constraints. Is there any way to tell sql
not to fire the triggers (I tried disabling them but no luck as it gives
error). I am assuming when the merge agent does sync the triggers are not
fired or some how identity_range constraints are ignored. Any help is
appreciated.

Thanks

Manoj
SQL Server 2005
(1)
Trigger
(1)
Database
(1)
DataCompare
(1)
Ibison
(1)
Someother
(1)
Identity
(1)
  Manoj Rastogi replied...
28-Jan-10 01:18 PM
Hi Paul.
I have generated all the script which DataCompare will do. The problem is as
there is an identity range constraint it gives an error. I am disabling the
constraint but it looks the insert trigger(created by replication) will
enable it.
I will try using Datacompare and see how it looks.

Thanks
Manoj
  Manoj Rastogi replied...
28-Jan-10 02:02 PM
Hi Paul,
I even tried Datacompare but the script it created did not work. I am trying
to keep the identity columns values as in subscriber database.

Thanks

Manoj
Create New Account
help
MSDE on Windows 2003 R2 box, new DL385G6 - Install Fails during SQL Services SQL Server I have been finding that I am having trouble with the Crystal Reports Server XI installation failing when it is dealing with SQL. So, as a thought and in case there was something wrong with my SQL portion of the isntall. I thought ok, I will try installing the actual MSDE application direct from Microsoft. So, I downloaded the MSDE for SQL 2000 (which is msde2000a.exe), set my switches and off to the races. It quit seconds left to the installation and bombed with the same errors as the Crystal Reports Server install. The error is the same whether I try to install MSDE by itself or
SQL Express: Failed Reinstall SQL Server Dear Setup Experts: I am trying to reinstall SQL Express after playing with it some. I uninstalled it, and now, it refuses to reinstall in the face. Any ideas what this log file means and how I can get SQL Express installed? I really do not want to have to reinstall my whole system. * ** ** Start of Log File Overall summary: Final result: SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then rerun SQL Server Setup. Exit code (Decimal): -2068643839 Exit facility code: 1203
SQL Express Installation Failed on New Windows XP Home SQL Server Hello: I installed SQL Express on my system. I uninstalled and reinstalled it a few times. Eventually, this hosed my system to some extent, and SQL Express would not install. I just had Windows XP Home reinstalled. I have reinstalled the software that I use. Yesterday, I tried to install SQL Express for the first time on this new installation. It failed with Wait on the Database Engine recovery handle failed. This is worse than before. At least I was able to backed up the entire partition, so I restored it. I am about to try installing SQL Express again today. What should I be considering first? (I am rather badly bitten / gunshy
SQLServer Error: 802, 701, 733 SQL Server SQL Server 2008 on Win2008 R2 x64 Server, 8 GB RAM - running virtualized on VMWare ES-Server Every sunday some maintainance jobs are scheduled to run. Rebuilding indices and statistics fail with There is insufficient memory available in the buffer pool. [SQLSTATE 42000] (SaveAllSchedules) After this the server is no longer reachable: [298] SQLServer Error: 773, SQL Server Network Interfaces: The requested security package does not exist [SQLSTATE 08001] . . . [298] SQLServer Error
Moving database decrease performance SQL Server I have moved database from one SQL2000 on win server to another standalone computer. Both SQL serverers have the same settings, same service pack, enterprise editions. On both SQL servers are tempDB, log file and mdf file on separate disks. The new SQL server is on better computer, has more RAM, beter disks, stronger proc, but all queries