操作方法
在使用 SQL Server 并涉及到将 shapefile 导入或加载到企业级地理数据库的特定工作流中,如果被加载的数据中存在 DOUBLE 类型字段,则可能会返回以下错误:
Error: Underlying DBMS error {{Microsoft}{SQL Native Client 10.0}{Server}Arithmetic overflow error converting float to data type numeric.} {{<shapefile name>}
此错误是由于 SQL Server 加载或转换 FLOAT 或 DOUBLE 类型的数据字段的方式造成的,尤其是在字段精度较低的情况下。 这些规则在 shapefile 数据结构中不受支持,因此,如果存在的数据超过将数据加载到 SQL Server 时施加的精度或比例限制,则会返回上述错误。
Note: Precision refers to the maximum total number of decimal digits that are stored, both to the left and right of the decimal point. The precision must have a value between 1, to the maximum precision of 38. The default precision in SQL Server is set to 18. This limit can be set higher (ex: 500) in ArcCatalog; however, the DBMS limit of 38 is maintained as the highest number storage possible. For more information, please review the Microsoft documentation in the Related Information section below.
手动编辑或提高企业级要素类的精度级别,适应正在加载的数据。
Note: The default precision values for DOUBLE fields are 0.
文章 ID: 000013811
获取来自 ArcGIS 专家的帮助
下载 Esri 支持应用程序