From 4bcf55433d8e64d14798da68f46e2d746d267c77 Mon Sep 17 00:00:00 2001 From: Raf Date: Wed, 23 Oct 2019 15:08:08 +0200 Subject: [PATCH] dbmounted script problem with database standby in mounted mode #73 --- sql/dbmounted.sql | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sql/dbmounted.sql b/sql/dbmounted.sql index dec8bdf..2dd951d 100644 --- a/sql/dbmounted.sql +++ b/sql/dbmounted.sql @@ -13,8 +13,8 @@ -- You should have received a copy of the GNU General Public License -- along with this program. If not, see . -set markup html on spool on -set lines 200 pages 0 feedback off verify off +set lines 32767 pages 0 feedback off verify off +set colsep "|||" col owner for a30 col Nome_Acronimo for a8 col segment_name for a60 @@ -22,6 +22,7 @@ col segment_name for a60 select (select value from v$parameter where name='db_name') as Nome_DB, (select db_unique_name from v$database) as DB_Unique_name, +(select instance_number from v$instance) as Instance_number, (select status from v$instance) as DB_Status, ((SELECT version FROM V$INSTANCE)||(select (case when UPPER(banner) like '%EXTREME%' then ' Extreme Edition' when UPPER(banner) like '%ENTERPRISE%' then ' Enterprise Edition' else ' Standard Edition' end) from v$version where rownum=1)) as Versione, (SELECT platform_name FROM V$database) as platform,