SQL> col FILE_NAME for a45
SQL> col tablespace_name for a15
SQL> col creation_time for a15
SQL> select a.file_name, a.tablespace_name, b.creation_time from dba_data_files a, v$datafile b where a.file_name=b.name;
FILE_NAME TABLESPACE_NAME CREATION_TIME
--------------------------------------------- --------------- -------------------------------------------------------------
+DATA/ieclive/datafile/system.258.860628911 SYSTEM 03-NOV-11
+DATA/ieclive/datafile/sysaux.264.860628911 SYSAUX 03-NOV-11
+DATA/ieclive/datafile/undotbs1.262.860628913 UNDOTBS1 03-NOV-11
+DATA/ieclive/datafile/users.259.860628913 USERS 03-NOV-11
+DATA/ieclive/datafile/undotbs2.269.860629051 UNDOTBS2 10-OCT-14
+DATA/ieclive/datafile/users.256.860630027 USERS 10-OCT-14
+DATA/ieclive/datafile/users.274.860630073 USERS 10-OCT-14
7 rows selected.
Happy Learning....
what about temp tablespace create date?
ReplyDeletev$tempfile for temptablespace.
ReplyDeleteSQL> select FILE#,CREATION_TIME,name from v$tempfile;
thanks!
ReplyDelete