oracle:查询数据表是否存在
select count(*) as NUM from all_tables where table_name = '{$table}'
或者:
select count(*) as NUM from all_tables where owner = '{$user}' and table_name = '{$table}'
某个用户是否拥有这张表
2022-03-18 00:13:52
oracle:查询数据表是否存在
select count(*) as NUM from all_tables where table_name = '{$table}'
或者:
select count(*) as NUM from all_tables where owner = '{$user}' and table_name = '{$table}'
某个用户是否拥有这张表