FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
utPLSQL/test/install_below_12_2.sql at develop · utPLSQL/utPLSQL · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
utPLSQL
/
utPLSQL
Public
Notifications
You must be signed in to change notification settings
Fork
189
Star
622
Code
Issues
12
Pull requests
0
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
utPLSQL
/
test
/
install_below_12_2.sql
Copy path
More file actions
More file actions
Latest commit
History
History
History
28 lines (22 loc) · 512 Bytes
Breadcrumbs
utPLSQL
/
test
/
install_below_12_2.sql
Copy path
File metadata and controls
28 lines (22 loc) · 512 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
set termout off
set echo off
spool dummy.sql
prompt whenever sqlerror exit failure rollback
spool off
def FILE_NAME = '&&1'
column SCRIPT_NAME new_value SCRIPT_NAME noprint
VAR V_FILE_NAME VARCHAR2(1000);
begin
if dbms_db_version.version = 12 and dbms_db_version.release < 2
or dbms_db_version.version < 12
then
:V_FILE_NAME := '&&FILE_NAME';
else
:V_FILE_NAME := 'dummy.sql';
end if;
end;
/
set verify off
select :V_FILE_NAME as SCRIPT_NAME from dual;
set termout on
@@&&SCRIPT_NAME
Back
|
FazBrowse Home
|
New Git URL