2026-03-12 20:23:15
This commit is contained in:
26
mhouri/getLOBname.sql
Normal file
26
mhouri/getLOBname.sql
Normal file
@@ -0,0 +1,26 @@
|
||||
--******************************************************************
|
||||
-- |Name : getLOBname |
|
||||
-- |Date : 08 2022 |
|
||||
-- |Author : Mohamed Houri |
|
||||
-- | |
|
||||
--******************************************************************
|
||||
|
||||
col owner for a30
|
||||
col table_name for a30
|
||||
col segment_type for a30
|
||||
col segment_name for a30
|
||||
|
||||
SELECT
|
||||
a.owner
|
||||
,b.table_name
|
||||
,a.segment_type
|
||||
,a.segment_name
|
||||
FROM
|
||||
dba_segments a
|
||||
,dba_lobs b
|
||||
WHERE
|
||||
a.owner = b.owner
|
||||
AND a.segment_name = b.segment_name
|
||||
AND a.segment_name ='&lob_seg_name'
|
||||
AND a.segment_type like '%LOB%';
|
||||
;
|
||||
Reference in New Issue
Block a user