Oracle: find index creation date from systables/information_schema?

information-schema, metadata, oracle, sql

Solution

Query all_objects or dba_objects to get info on your indexes.

This should work to get index DDL:

select dbms_metadata.get_ddl('INDEX','DEPT_IDX','SCOTT') from dual;

Problem

Using Oracle, how can I find index names and creation dates from systables/information_schema? How can I reproduce, from systables/information_schema, the DDL that created the index, e.g., `create index indexname on tablename(column_name [, column_name....]) [local];`

Original source