I was just pointing out the code you posted didn't look like it was using the names of the databases you posted. As far as I know, if the databases are on the same server and the database user you're logging in as has the correct permissions on both, then you should be able to do it with something similar to what you originally posted. I'm not sure if what you posted is exaclty the right syntax, I'd have to try it.
|