AnsweredAssumed Answered

Setting Env. in Python when you are working with 2 databases on separate servers

Question asked by N.Alexandrou on Dec 22, 2016
Latest reply on Dec 27, 2016 by blake.terhune

I've attached the script I am working on. It is a basic script set-up to sync changes between two replicated sde geodatabases. They are replicated fine, and manual sync works fine but I've been wanting to automate it. The thing I'm unsure of, is... what do I set the environment to if both of these databases exists on different SQL Servers?

 

The only python scripts I have created have to do with reconciling version or compressing an sde, but for all of that, the environment is just a single SDE database. 

 

What do I do if the script needs to interact with two databases not in the same location?

Attachments

Outcomes