diff --git a/INDEX b/INDEX index 2fa11a8..7098fd7 100644 --- a/INDEX +++ b/INDEX @@ -500,6 +500,7 @@ INSTANCE and/or DATABASE: @showsrc.sql: show source of PL/SQL stored objects @show-x-dollar-tables.sql: list of all x$tables @sql-version-counts.sql: top 10 count of versions of SQL_ID +@startup_Date_time.sql: get Last Starstup Date time @tabcols.sql: list of columns in alpha order for owner and table_name @tabidx.sql: show indexes and columns for owner and table_name @plsql_called_objects.sql: Shows entry PL/SQL object and current PL/SQL object for a session diff --git a/sql/startup_Date_time.sql b/sql/startup_Date_time.sql new file mode 100644 index 0000000..52b9093 --- /dev/null +++ b/sql/startup_Date_time.sql @@ -0,0 +1,10 @@ +-- last_startup_time.sql +-- Laurent L - zoltix +-- 2020-01-31 +-- get Last Starstup Date time + +select + to_char(startup_time, 'HH24:MI DD-MON-YY') "Startup time" +from + v$instance; +