Database table, schema statistics
http://www.oracle-wiki.net/startsql#toc7 SQL Library Table LAST_ANALYZED set ver off set linesize 60 col table_name format a15 col last_analyzed format a40 select TABLE_NAME "Table Name",to_char(LAST_ANALYZED,'DD-MON-YY HH24:MI:SS') "Date and Time" from dba_TABLES where lower(TABLE_NAME)='&tname'; Displays Last Analyzed Details for a given Schema. (All schema owners if 'ALL' specified). -- SET PAUSE ON SET PAUSE 'Press Return to Continue' SET PAGESIZE 60 SET LINESIZE 300 SELECT t.owner, t.table_name AS "Table Name", t.num_rows AS "Rows", t.avg_row_len AS "Avg Row Len", Trunc((t.blocks * p.value)/1024) AS "Size KB", to_char(t.last_analyzed,'DD/MM/YYYY HH24:MM:SS') AS "Last Analyzed" FROM dba_tables t, v$parameter p WHERE t.owner = Decode(Upper('&&Table_Owne...