Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f83357 commit ac40332Copy full SHA for ac40332
1 file changed
source/core/coverage/dbms_plssqlcode.sql
@@ -1,5 +1,11 @@
1
+declare
2
+ e_not_exists exception;
3
+ pragma exception_init(e_not_exists,-6576);
4
+ l_install_call varchar2(500) := 'call dbms_plsql_code_coverage.create_coverage_tables(force_it => :forceit)';
5
begin
- DBMS_PLSQL_CODE_COVERAGE.create_coverage_tables(
- force_it => TRUE);
6
+ execute immediate l_install_call using in true;
7
+exception
8
+ when e_not_exists then
9
+ dbms_output.put_line('dbms_plsql_code_coverage doesnt exists in your database. Please upgrade.');
10
end;
11
/
0 commit comments