2026-03-12 20:23:15
This commit is contained in:
1 parent
eab4b36eca
commit
93039b8489
3332 files changed
+699614
No files matched your search
@@ -0,0 +1,16 @@
|
||||
-- -----------------------------------------------------------------------------------
|
||||
-- File Name : https://oracle-base.com/dba/monitoring/column_defaults.sql
|
||||
-- Author : Tim Hall
|
||||
-- Description : Displays the default values where present for the specified table.
|
||||
-- Call Syntax : @column_defaults (table-name)
|
||||
-- Last Modified: 15/07/2000
|
||||
-- -----------------------------------------------------------------------------------
|
||||
SET LINESIZE 100
|
||||
SET VERIFY OFF
|
||||
|
||||
SELECT a.column_name "Column",
|
||||
a.data_default "Default"
|
||||
FROM all_tab_columns a
|
||||
WHERE a.table_name = Upper('&1')
|
||||
AND a.data_default IS NOT NULL
|
||||
/
|
||||
Reference in new issue
Block a user