Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Oracle: find index creation date from systables/information_schema?

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];

like image 832
tpdi Avatar asked Sep 03 '09 02:09

tpdi


1 Answers

Query DBA_OBJECTS or ALL_OBJECTS for the creation date:

select created from dba_objects where object_type = 'INDEX' and object_name='XXX';

More about it here:

like image 59
Pop Avatar answered Nov 03 '22 02:11

Pop