laptop and a wrench

Bogue

The mobile geodatabase view definition contains 'CREATE VIEW [name of table] AS', whereas file geodatabase views and enterprise geodatabase views do not.

ArcGIS Pro
Numéro d’ID de bogue BUG-000158324
EnvoiMay 15, 2023
Dernière modificationJuly 18, 2023
S’applique àArcGIS Pro
Version trouvée3.1.1
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutIn Review

Solution de contournement

Database views in all types of databases use CREATE VIEW MY_VW AS to create a database view. That's standard SQL. For example, if a view were to be created in any kind of enterprise geodatabase, the Create Database View geoprocessing tool sends this SQL script to the DB: CREATE VIEW MY_VW AS... However, this is not intentionally displayed in file or enterprise geodatabase views.

Use Case: 

Since CREATE VIEW MY_VW AS is used inconsistently in the view properties of different geodatabase types, it makes it cumbersome to do things like use Python for a variety of different geodatabase types to automatically document view SQL definitions. Since Mobile geodatabases are an exception, check if the geodatabase type is a mobile geodatabase, then strip CREATE VIEW MY_VW AS from the view definition. The same applies to making Entity Relationship diagrams using automated diagramming software.

Étapes pour reproduire

ID de bogue: BUG-000158324

Logiciel:

  • ArcGIS Pro

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement