sys.odcivarchar2list:
select tables_to_check.table_name, case when user_tables.table_name is null then 'No' else 'Yes'end table_existsfrom( select column_value table_name from table(sys.odcivarchar2list('does not exist', 'TEST1'))) tables_to_checkleft join user_tables on tables_to_check.table_name = user_tables.table_nameorder by tables_to_check.table_name;TABLE_NAME TABLE_EXISTS---------- ------------TEST1 Yesdoes not exist No
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)