import arcpy arcpy.Compress_management("Database Connections\Connection to brockville.sde")
Actually William Craft you already answered the question at the link below.
https://community.esri.com/message/86698#86698
Just found that. Thanks!
This is something I am a little confused on...
Don't you actually need to also reconcile/post outstanding edits and then delete user versions -> compress -> recreate user versions -> update statistics
I have been looking for a python script that will actually do this full compress workflow but so far have only found pieces.
Any insight to this would be appreciated!
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.