Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a need to check consistency of data across five database environments. I have a framework for how to do the comparison and output the results but what I would like to know is if there is a way to create a list of MSSQL database connections, and iterate through them so that I can build the comparison once and then the iteration does the following:
Compare system A against system B
Compare system A against system C
Compare system A against system D
....
(System A is considered the source so we can compare all other systems against it). I'm only jjust starting to use iteration connectors and things like tForEach so any ideas would be greatly appreciated.
It should be worth noting that the schemas are identical across systems.
@jftdarr , you need to maintain a table for the connection and iterate it .
Awesome thank you. Forgive the stupid follow up but is there a particular schema that i should follow for that table/how would I leverage that table?
Thanks - I wasn't clear on my questions. You say I need to maintain a table of database connections to iterate through. I'm trying to understand what structure that table should be in... db_type, db_name, host, login, password.. or should it be a connection string? how do I then pass those values to a tDBConnection file?