12-11-2015 11:48 AM
Hello
I hope you can help me
I wonder if I can save data in two different databases, I need to save the information of my program in two different databases, Is that possible?
If so how?
Regards
Thank you
12-11-2015 12:06 PM
How to do it will vary with what 2 databases you are using, but build code to save to one database and then build code to the second database. Then run both sets of code to save to two databases.
12-11-2015 12:10 PM
12-11-2015 12:38 PM
So I have to build another program but with other UDL connection?
Is there another way in that I can join the UDL connections?
12-11-2015 12:47 PM
01-05-2016 02:35 PM
I can´t join two connection path wires and connect them to the same open data base connection, Because when I try to join two different connection paths the program shows me a broken wire. So I have to create a open database connection for every connection path
01-05-2016 02:43 PM
01-06-2016 06:11 AM
@DanielPVilla wrote:
I can´t join two connection path wires and connect them to the same open data base connection, [...]
Make the two paths into an array, wrap your database code in a For loop and wire your path array in.
01-06-2016 06:39 AM
If the databases are identical, depending on the database engine you are using - many support replication and mirroring which means you write to one master database, and the changes get automatically propagated to any number of specified slave databases.
Otherwise, you'll just have to do two operations instead of one for each write to the database. For example, you could have an array of databases and use a for loop to perform the database operations for each one.