Can anybody point me in the direction of some C++ code to connect to two SQL databases please? I want to have one set as read-only and the other as read-write. Whatever I'm doing is wrong as I always end up with a default connection.