Time:09-22
CodePudding user response:
dba_tables
select Max (str1) | | Max (ext_str) | | The replace (replace (to_char (wm_concat (str2)), ', ', '), '$* | |', ', ') | | ') The from (Select the 'select Max ("' | | t1. The OWNER | | ', '| | t1, TABLE_NAME | |' ' ') from the '| | t1. The OWNER | |'. '| | t1. TABLE_NAME | |' where 1=1 and the exists (' str1, 'or instr (' | | t1. COLUMN_NAME | |', '| |' $* | | 'string' ' '| |') & gt; 0 'str2, 'select 1 from' | | t1. The OWNER | | '. '| | t1, TABLE_NAME | |' where 1=2 'ext_str, T1. The OWNER | | '| | t1, TABLE_NAME part_str The from all_tab_columns t1 Where a t1. The OWNER=upper (" user_name ") -- and t1. TABLE_NAME=upper (" TABLE_NAME ") ) t1 Group by part_str ;
how to acquire by querying the table space contains a particular character all the table names? For the oracle database, thank you!
Page link:https//www.codepudding.com/database/20492.html