Hi All
I am new to all this, so thanks for your patience:D.
I used the code below to list the Name and data type of an element in an SDE database.
What I really need to do now is identify and write the Schema(element owner) for each element as well, as I have a number of Schemas in the Database.
I am new to all this, so thanks for your patience:D.
I used the code below to list the Name and data type of an element in an SDE database.
What I really need to do now is identify and write the Schema(element owner) for each element as well, as I have a number of Schemas in the Database.
Code:
import arcpy
# Create a Describe object
#
desc = arcpy.Describe(r"Database Connections\SDCM_SIS in PRD as 044231 DC.sde")
# Print some Describe Object properties
#
for child in desc.children:
print "\t%s,%s" % (child.name,child.dataType)