From a41c4786aa18b623830a919eb63c391a16f9e60a Mon Sep 17 00:00:00 2001 From: Jared Still Date: Mon, 9 Oct 2023 13:01:57 -0700 Subject: [PATCH] update 21 to 23 for 23c --- sql/showdb.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/showdb.sql b/sql/showdb.sql index bb8bfb9..8f402bd 100644 --- a/sql/showdb.sql +++ b/sql/showdb.sql @@ -64,7 +64,7 @@ begin elsif version = 9 or version = 1 then -- this likely will no longer work due to changing substr from 1 to 2 characters sqlcmd := 'select to_char(startup_time,' || '''' || 'mm/dd/yyyy hh24:mi:ss' || '''' || ') into :start_date from v$instance'; null; - elsif version between 10 and 21 then -- this likely will no longer work due to changing substr from 1 to 2 characters + elsif version between 10 and 23 then -- this likely will no longer work due to changing substr from 1 to 2 characters sqlcmd := 'select to_char(startup_time,' || '''' || 'mm/dd/yyyy hh24:mi:ss' || '''' || ') into :start_date from v$instance'; null; end if;