divers ajouts de scripts sql

This commit is contained in:
Yacine31
2022-04-16 17:20:15 +02:00
parent 25a483862d
commit bdbcfa9277
5 changed files with 30 additions and 0 deletions

4
check_db_restart.sql Normal file
View File

@@ -0,0 +1,4 @@
alter session set nls_date_format='YYYY/MM/DD HH24:MI:SS';
col host_name format a15
SELECT instance_name, host_name, startup_time, status, logins FROM gv$instance ORDER BY 1;