# S07004 {#S07004}

## Error Code {#error_code .section}

S07004

## Error Message {#error_message .section}

`Data type x is not supported as index key. Supported data types include CHAR, BOOL, SHORT, INT, LONG, STRING, and temporal types. RefId: S07004`

## Probable Causes {#probable_causes .section}

Currently, tables in an IMOLTP databaseonly support the following data types as the index key: CHAR, BOOL, SHORT, INT, LONG, STRING, and temporal types. This error occurs when unsupported data types are used as the index key.

## Solutions {#solutions .section}

Select columns with a supported data type as the index key.

**Parent topic:**[Error Code Reference](../../Troubleshooting/ErrorCode.md)

