select * from all_tables where table_name ='aa' and tablespace_name='bb'
select * from user_tables where table_name='AA' and tablespace_name='BB'; 如果权限足够,还可以 select * from all_tables where table_name='AA' and tablespace_name='BB'; select * from dba_tables where table_name='AA' and tablespace_name='BB'; ....
用这个: select table_name from all_tables where lower(table_name) = '%aa%' and lower(tablespace_name) = '%bb%'; 记得加分哦。
to Aarcon_Chen(凌霄)我用了你的方法,不是我要的啊,我要查找一个记录就可以了,怎么出来了一大堆啊 谁会这个呢?告诉我吧,我等了一个下午了,天哪!!
select table_name from all_tables where table_name = 'AA' and tablespace_name = 'BB'; 我这样居然成功了!!!!!
select * from all_tables where
table_name ='aa' and tablespace_name='bb'
如果权限足够,还可以
select * from all_tables where table_name='AA' and tablespace_name='BB';
select * from dba_tables where table_name='AA' and tablespace_name='BB';
....
select table_name
from all_tables
where lower(table_name) = '%aa%'
and lower(tablespace_name) = '%bb%';
记得加分哦。
谁会这个呢?告诉我吧,我等了一个下午了,天哪!!
from all_tables
where table_name = 'AA'
and tablespace_name = 'BB';
我这样居然成功了!!!!!