-- orcale 查询视图是否存在
select count(*) as v_cnt from user_views where view_name = '视图名称';
-- orcale 查询表是否存在
select count(*) as v_cnt from user_tables where table_name = '表名';
-- orcale 查询视图是否存在
select count(*) as v_cnt from user_views where view_name = '视图名称';
-- orcale 查询表是否存在
select count(*) as v_cnt from user_tables where table_name = '表名';