Oracle常用命令
查看表空间创建时间
select a.file_name,a.tablespace_name,to_char(b.creation_time,'yyyy-mm-dd')creation_time from dba_data_files a,v$datafile b where a.file_id=b.file# order by tablespace_name;
查看表空间信息
SELECT * FROM dba_tablespaces;
查看表空间创建时间
select a.file_name,a.tablespace_name,to_char(b.creation_time,'yyyy-mm-dd')creation_time from dba_data_files a,v$datafile b where a.file_id=b.file# order by tablespace_name;
查看表空间信息
SELECT * FROM dba_tablespaces;