Created
August 6, 2020 10:17
-
-
Save foobarbaz-pl/93629bb1a37084f6e1e8536f78207779 to your computer and use it in GitHub Desktop.
Session Using Global Temporary Table
This file contains hidden or 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
select sid | |
from v$lock | |
where type = 'TO' | |
and id1 = (select object_id | |
from dba_objects | |
where object_name = '&temp_table_name'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment