AnsweredAssumed Answered

PRECISION attribute of INTEGER field in SDE SQLserver GDB

Question asked by frances.alain on Jun 12, 2016

When I import a GDB XML schema into a SDE SQL Server GDB, the PRECISION of INTEGER datatype is not changed.

I have the following definition of a FC field in the XML (precision 5):

<Field xsi:type="esri:Field">
<Name>IDE_UND_LITO</Name>
<Type>esriFieldTypeInteger</Type>
<AliasName/>
<DomainFixed>false</DomainFixed>
<Editable>true</Editable>
<IsNullable>true</IsNullable>
<Length>0</Length>
<ModelName/>
<Precision>5</Precision>
<Required>false</Required>
<Scale>0</Scale>
</Field>

 

But the result is an INTEGER field with PRECISION 10:

I use ArcGis 10.3 and SQL server 2008 R2, the XML is created with Enterprise Architect 12.1.

Note that for the TEXT datatype the attribute LENGTH is correctly imported.

Outcomes