ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

GDB Table properties

  • Summary
  • Properties
  • Code sample

Summary

The Describe function returns the following properties for Geodatabase Tables. Editor Tracking Properties, Table Properties, and Dataset Properties are also supported.

A Geodatabase Table returns a dataType of "Table".

Properties

PropertyExplanationData Type
aliasName
(Read Only)

The alias name for the table.

String
defaultSubtypeCode
(Read Only)

The default subtype code.

String
extensionProperties
(Read Only)

The properties for the class extension.

Object
globalIDFieldName
(Read Only)

The name of the GlobalID field.

String
hasGlobalID
(Read Only)

Indicates whether the table has a GlobalID field.

Boolean
modelName
(Read Only)

The model name for the table.

String
rasterFieldName
(Read Only)

The name of the raster field.

String
relationshipClassNames
(Read Only)

The names of the Relationship Classes that this table participates in.

String
subtypeFieldName
(Read Only)

The name of the subtype field.

String
versionedView
(Read Only)

The name of a Versioned View for a versioned feature class.

String

Code sample

GDB Table properties example (stand-alone script)

The following stand-alone script displays some properties of a GDB table.

import arcpy

# Create a Describe object from the GDB table.
#
desc = arcpy.Describe("C:/data/chesapeake.gdb/munich")

# Print GDB Table properties
#
print "%-22s %s" % ("AliasName:", desc.aliasName)
print "%-22s %s" % ("DefaultSubtypeCode:", desc.defaultSubtypeCode)
print "%-22s %s" % ("GlobalIDFieldName:", desc.globalIDFieldName)
print "%-22s %s" % ("ModelName:", desc.modelName)
print "%-22s %s" % ("RasterFieldName:", desc.rasterFieldName)
print "%-22s %s" % ("RelationshipClassNames:", desc.relationshipClassNames)

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal