Skip to content

Commit e64ca20

Browse files
committed
fix install issue with database 23c free
1 parent 25aa88d commit e64ca20

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
We recommend to install the package `om_tapigen` in a central tools schema. Because the package runs with invokers rights you need to create a private or public synonym for SQL functions inside the package.
2929

3030
1. Download the [latest version](https://github.com/OraMUC/table-api-generator/releases/latest) and unzip the source code
31-
1. Run the SQL script `install.sql` in the root folder
31+
1. Run the SQL script `om_tapigen_install.sql` in the root folder
3232
1. If installed in a central tools schema
3333
- grant execute rights: `GRANT EXECUTE ON om_tapigen TO PUBLIC;`
3434
- create synonym - public in tools schema: `CREATE PUBLIC SYNONYM om_tapigen FOR om_tapigen;`

om_tapigen_install.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ prompt Set compiler flags
99
declare
1010
v_db_version varchar2(10);
1111
begin
12-
select replace(regexp_substr(version, '\d+\.\d+'), '.', null) as db_version
12+
select replace(regexp_substr(min(version), '\d+\.\d+'), '.', null) as db_version
1313
into v_db_version
1414
from product_component_version
1515
where product like 'Oracle Database%';

src/om_tapigen_install.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ prompt Set compiler flags
99
declare
1010
v_db_version varchar2(10);
1111
begin
12-
select replace(regexp_substr(version, '\d+\.\d+'), '.', null) as db_version
12+
select replace(regexp_substr(min(version), '\d+\.\d+'), '.', null) as db_version
1313
into v_db_version
1414
from product_component_version
1515
where product like 'Oracle Database%';

0 commit comments

Comments
 (0)