Skip to Main Content

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question, Sam.

Asked: April 19, 2017 - 2:35 pm UTC

Last updated: April 20, 2017 - 8:08 am UTC

Version: 11g

Viewed 1000+ times

You Asked

I have some indexes that starts with SYS I am not able to see them in user_indexes but SQL developer explorer shows them. Any idea?

and Connor said...

Most probably automatically generated names.

eg

SQL> create table t ( x int primary key );

Table created.

SQL>
SQL> select index_name
  2  from user_indexes
  3  where table_name = 'T';

INDEX_NAME
------------------------------
SYS_C0017793


An index is needed to enforce the primary key, so we automatically created one.

Is this answer out of date? If it is, please let us know via a Comment