Solved

Cleanup SMS database based data from child SMS servers

Posted on 2009-06-30
3
350 Views
Last Modified: 2013-11-21
Hello. I am not sure if this is possible or if I am even asking it correctly. I will give it a shot.

I have a central SMS server with SQL 2005 and 4 child primary SMS servers with SQL 2005. Administrators on the child primary SMS servers manually delete resources from the database on their server. These deletions do not migrated up to the central SMS server. This means that reports created on the central server are not accurate.

Is there anyway I can compare central server with the child server and delete resources on the central server that are not present on the child servers?
0
Comment
Question by:Lorrec
3 Comments
 
LVL 57

Accepted Solution

by:
Raja Jegan R earned 250 total points
ID: 24748773
Yes.. you can do it with the help of Linked Servers for T-SQL if the no of tables are less

Or

If the tables are large in number, Then you can do it with the help of some third party tools like

1. Red Gate Data Compare.
2. ApexSQL Data Diff.
0
 
LVL 10

Assisted Solution

by:JonLambert
JonLambert earned 250 total points
ID: 24790076
Enabling the task "Delete Inactive Client Discovery Data" on the central site will delete any any records on the central site that have not sent a heartbeat ddr within the configured time period.  
0
 

Author Closing Comment

by:Lorrec
ID: 31598468
Thank you both for the responses. I have used both.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL date incremented 11 31
SQL Insert parts by customer 12 35
Alternative of IN Clause in SQL Server 3 21
SQL server vNext 18 31
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question