laptop and a wrench

Bogue

The sdelayer -o add command fails with -51 error and deletes the underlying table in DB2.

Dernière publication: August 25, 2014 No Product Found
Numéro d’ID de bogue NIM034197
EnvoiApril 11, 2008
Dernière modificationApril 2, 2025
S’applique àNo Product Found
Version trouvée9.2
Version de correction9.3
StatutFixed

Solution de contournement

After creating the table in DB2, register it with SDE and then run the sdelayer -o add command.C:\>sdetable -o register -t airport -i 5151 -u sde -p sde -k GDT_AIRPORTArcSDE 9.2 for DB2 Build 1239 Thu Jan 24 09:35:02 2008Attribute Administration Utility-----------------------------------------------------Table airport successfully registered.C:\>sdelayer -o add -i 5151 -u sde -p sde -x -180,-90,1000000 -G 4326 -g 0.1,0,0 -e +a -k GDT_AIRPORT -q -l airport,bus_fidSuccessfully Created Layer.Query the database for table:describe table airport;------------------------------------------------------------------------------Column Type Typename schema name Length Scale Nulls------------------------------ --------- ------------------ -------- ----- ------GDT_ID SYSIBM VARCHAR 32 0 Yes STATE_FIPS SYSIBM INTEGER 4 0 Yes COUNTY_FIPS SYSIBM INTEGER 4 0 Yes NAME SYSIBM VARCHAR 50 0 Yes CFCC SYSIBM VARCHAR 3 0 Yes IDENT SYSIBM VARCHAR 4 0 Yes USERS SYSIBM VARCHAR 2 0 Yes BUS_FID DB2GSE ST_MULTIPOLYGON 0 0 Yes OBJECTID SYSIBM INTEGER 4 0 No 9 record(s) selected.

Étapes pour reproduire

ID de bogue: NIM034197

Logiciel:

  • No Product Found

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