- Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathRunSQL.sql
More file actions
Latest commit
16 lines (16 loc) · 437 Bytes
/
Copy pathRunSQL.sql
File metadata and controls
16 lines (16 loc) · 437 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
SET LINESIZE 2000
SET PAGESIZE 0
SET VERIFY OFF
SET FEEDBACK OFF
@&1
SELECT'Filename: &1'FROM DUAL;
SELECT'('|| TYPE ||''|| NAME ||'/0:'|| POSITION ||')'||''||LINE||':'|| POSITION ||''||TEXTas ERRORS
FROM ALL_ERRORS
WHEREline<>0
AND (
TYPE ||''|| OWNER ||'.'|| NAME in (&2)
OR
(OWNER = USER AND TYPE ||''|| NAME in (&2))
)
ORDER BY NAME, TYPE, SEQUENCE;
exit