5

I have an ArcSDE geodatabase with different versions for each user.

How can I list each version using ArcPy?

10

There is a function on arcpy called ListVersions. Here's online help for it.

    >>> print (arcpy.ListVersions('bigiron.sde'))
    [u'BILLY.VersionOne', u'JOE.2B8E86', u'S.DEFAULT']
    >>>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.