2026-03-12 20:23:15
This commit is contained in:
27
tpt/doid.sql
Normal file
27
tpt/doid.sql
Normal file
@@ -0,0 +1,27 @@
|
||||
-- Copyright 2018 Tanel Poder. All rights reserved. More info at http://tanelpoder.com
|
||||
-- Licensed under the Apache License, Version 2.0. See LICENSE.txt for terms & conditions.
|
||||
|
||||
col o_owner heading owner for a25
|
||||
col o_object_name heading object_name for a30
|
||||
col o_object_type heading object_type for a18
|
||||
col o_status heading status for a9
|
||||
|
||||
select
|
||||
object_id,
|
||||
owner o_owner,
|
||||
object_name o_object_name,
|
||||
subobject_name o_partition,
|
||||
object_type o_object_type,
|
||||
created,
|
||||
last_ddl_time,
|
||||
status o_status
|
||||
from
|
||||
dba_objects
|
||||
where
|
||||
data_object_id in (&1)
|
||||
order by
|
||||
o_object_name,
|
||||
o_owner,
|
||||
o_object_type
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user