My problem:
I have a table with application ID's and the servers on which they reside, and an index for server to app. Both are many to many relationships. I need to drill down until I have all apps / servers involved or connected to one app or one server
e.g. serverA has to be relocated:
retrieve all apps for ServerA = app1, app2
retrieve all servers for app1 = serverA, serverB
retrieve all servers for app2 = serverA, serverC
retrieve all apps for serverB = app2, app3
retrieve all apps for serverC = app2
retrieve all servers for app3 = serverB
OK to stop, no unrelated servers or apps.
I know this is quite involved, but I was hoping I didn't need to re-invent the wheel - anybody have code like this?
THANKS,
Andy
I have a table with application ID's and the servers on which they reside, and an index for server to app. Both are many to many relationships. I need to drill down until I have all apps / servers involved or connected to one app or one server
e.g. serverA has to be relocated:
retrieve all apps for ServerA = app1, app2
retrieve all servers for app1 = serverA, serverB
retrieve all servers for app2 = serverA, serverC
retrieve all apps for serverB = app2, app3
retrieve all apps for serverC = app2
retrieve all servers for app3 = serverB
OK to stop, no unrelated servers or apps.
I know this is quite involved, but I was hoping I didn't need to re-invent the wheel - anybody have code like this?
THANKS,
Andy