Solved

Cleanup SMS database based data from child SMS servers

Posted on 2009-06-30
3
351 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
listing SQL login names of valid databases 2 20
SQL, add where clause 5 23
SQL R 21 25
how to restore or keep sql2000  backups useful... 2 12
Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

839 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