Registered member login:
Register Now
Altirigos » Homepage2

» Current Poll
Do you leave the Aclient enabled?
YES - 82.93%
102 Votes
NO - 17.07%
21 Votes
Total Votes: 123
You may not vote on this poll.
» Stats
Members: 9,465
Threads: 11,733
Posts: 55,228
Top Poster: Nick (4,981)
Welcome our newest member, Serendipity
» Online Users: 23
0 members and 23 guests
No Members online
Most users online at once 294, 06-30-2007 at 12:24 PM.
» March 2010
S M T W T F S
28 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31 123
View Single Post
Old 08-23-2006, 01:55 PM   #20 (permalink)
bgreen
 
Status: Altiris Admin
Join Date: 07-11-2006
Location: Houston, TX
Age: 29
Posts: 61


Dom,

Reading through the query in the original post, it already grabs the two duplicate machines and determines which one has been updated more recently. That being the case, I would think you could just replace the line that executes the merge stored procedure with one that replaces the delete stored procedure (which I can't remember the name of right now):


So instead of:
exec spResourceMerge @FromGuid,@ToGuid

You'd do:
CAUTION - Just thinking out loud here, have nowhere to test it at the moment - CAUTION
exec spResourceDelete @FromGuid (or whatever the delete stored proc is called)
bgreen is offline   Reply With Quote
 
Powered by vBadvanced CMPS v3.0 RC2

All times are GMT -4. The time now is 03:16 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
vB.Sponsors
Altirigos