Skip to content

inspectIndex ​

Command: inspectIndex
Category: System Tools
Status: Production Ready

Description ​

Return metadata about an index.

Syntax ​

bash
hana-cli inspectIndex [schema] [index] [options]

Command Diagram ​

Aliases ​

  • ii
  • index
  • insIndex
  • inspectindex

Parameters ​

Positional Arguments ​

ParameterTypeDescription
schemastringSchema name (optional)
indexstringIndex name (optional)

Options ​

OptionAliasTypeDefaultDescription
--index-istring-Index name
--schema-sstring**CURRENT_SCHEMA**Schema name

For a complete list of parameters and options, use:

bash
hana-cli inspectIndex --help

Examples ​

Basic Usage ​

bash
hana-cli inspectIndex --index myIndex --schema MYSCHEMA

Show index definition and indexed columns.

See the Commands Reference for other commands in this category.

See Also ​