Use ArcPy to Determine Underlying Database

Idea created by achapkowski-esristaff Employee on Aug 28, 2014
    New
    Score30
    • GD-WU
    • Hornbydd
    • dan_odonohue
    It would be nice if the arcpy Describe function would return the database name you are connected to.  

    For example:
    >>> print arcpy.Describe(r"c:\temp\scratch.gdb").databaseName
    File Geodatabase
    >>> print arcpy.Describe(r"c:\temp\someconnection.sde").databaseName
    Oracle
    >>> print arcpy.Describe(r"c:\temp\someconnection.sde").databaseName
    PostGRESql

    etc...

    This would really help in developing the slight SQL differences between databases in handling of specific datatypes.

    Thank you