several different types of geodatabases that can be used with ArcGIS, including personal, file, and enterprise. As we saw in Chapter 8, Querying and Selecting Data, the construction of queries will vary depending upon the type of geodatabase a dataset resides within. Your scripts may or may not know the geodatabase type ahead of time. To make your scripts more robust in the case of queries, you could use the
Describe() function against a workspace to capture this information and construct your query accordingly.
Workspace property group provides information about a workspace (such as a folder, personal or file
geodatabase, or enterprise geodatabase). These ...