Get geodatabase version (upgrade status) using ArcPy

493
4
Jump to solution
12-15-2021 05:31 AM
evemarwernick
New Contributor II

Hi, 

Is it possible to get geodatabase version (upgrade status) using ArcPy? Like showned in image anexed.

Thanks

 

 

0 Kudos
1 Solution

Accepted Solutions
Asrujit_SenGupta
MVP Regular Contributor

That information is normally available in the Version table (DESCRIPTION field) in the database. So you can query that table using SQL or Python and get the geodatabase version.

ArcSDESQLExecute

Example: Finding the geodatabase release using SQL

View solution in original post

4 Replies
DanPatterson
MVP Esteemed Contributor
0 Kudos
evemarwernick
New Contributor II

Hi Dan, 

Thank you for your answer, but it is not what I am looking for...

I need to programmatically discover the version of the geodatabase, for example 10.2 - please look the attachment in my post.

0 Kudos
Asrujit_SenGupta
MVP Regular Contributor

That information is normally available in the Version table (DESCRIPTION field) in the database. So you can query that table using SQL or Python and get the geodatabase version.

ArcSDESQLExecute

Example: Finding the geodatabase release using SQL

evemarwernick
New Contributor II

Exactly what i needed!

Thank you!!!

0 Kudos