-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updates to reserved-words.sql, new script session-parm-diff.sql
- Loading branch information
Showing
4 changed files
with
41 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,19 @@ | ||
select keyword, | ||
res_type || res_attr || res_semi || duplicate attributes | ||
|
||
col keyword format a30 | ||
|
||
col res_type format a5 head 'Use|as|Type|Name?' | ||
col res_attr format a5 head 'Use|as|Attr|Name?' | ||
col res_semi format a6 head 'Use|as|Idntfr|Name?' | ||
col duplicate format a7 head 'Keyword|Dup?' | ||
col reserved format a9 head 'Reserved?' | ||
|
||
select keyword | ||
, reserved | ||
, res_type | ||
, res_attr | ||
, res_semi | ||
, duplicate | ||
from v$reserved_words | ||
where reserved = 'Y' | ||
--where keyword like '%YOUR_WORD_HERE%' | ||
order by 2,1 | ||
/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
-- session-parm-diff.sql | ||
-- Jared Still 2023 | ||
|
||
col name format a30 head 'Name' | ||
col session_parameter format a30 head 'Session Parameter' | ||
col system_parameter format a30 head 'System Parameter' | ||
|
||
set pagesize 100 | ||
set line 200 trimspool on | ||
|
||
select | ||
p.name | ||
, p.value session_parameter | ||
, s.value system_parameter | ||
from v$parameter p | ||
join v$system_parameter s | ||
on s.name = p.name | ||
where s.value != p.value | ||
/ | ||
|