When you create a table or add a column to a table in a database, you define a specific data type for the column. Data types determine the following:
- What values you can store in the column
- What operations you can use on the data in that column
- How the data in that column is stored in the database
ArcGIS works with specific data types. When you access a database table through a Database Connection, query layer, or web service, ArcGIS filters out any unsupported data types. ArcGIS does not display unsupported data types, and you cannot edit unsupported data types through ArcGIS. Similarly, when you use ArcGIS to copy and paste tables containing unsupported data types from one database to another, ArcGIS only pastes columns that use a supported data type.
The first column in the following table lists the ArcGIS data types. The second column lists the SAP HANA data type that ArcGIS creates. The third column shows what other SAP HANA data types, if any, map to the ArcGIS data type when you view a table that you created outside ArcGIS (not registered with the geodatabase). The last column provides additional information when needed.
ArcGIS data type | SAP HANA data type created | Other SAP HANA data types that can be viewed | Notes |
---|---|---|---|
Big integer | bigint | ||
Blob | BLOB | ||
Date | timestamp | date, seconddate, time | |
Date only | date | ||
Double | decimal(38,8) | decimal(p,s), number(p,s), numeric(p,s), bigint | p > 0 The precision (p) and scale (s) specified in ArcGIS affects the resultant data type created in the database. |
Float | decimal(38,8) | decimal(p,s) | p <= 9 and s > 0 The precision (p) and scale (s) specified in ArcGIS affects the resultant data type created in the database. |
Geometry | ST_Geometry | ||
Global ID | character(38) | Supported in geodatabases only. | |
GUID | character(38) | Latin character set | |
Long integer | integer | decimal(p,0) | p <= 9 |
Object ID | bigint | Only 32-bit numbers are stored at this time. | |
Raster | Not applicable | The ArcGIS raster data type is supported in geodatabases only. Rasters created in geodatabases in SAP HANA use an Esri proprietary data type. | |
Short integer | smallint | tinyint | |
Text | varchar(50) | alphanum(n), nvarchar(n), CLOB, NCLOB | |
Time only | time | ||
Timestamp offset | Not applicable | Not supported. |