查询得到的内容都包括些什么啊?其中"user-tables"就这样写,还是根据实际情况改变? 我在SQL plus 中执行了一下这个select语句,得到的结果看不懂,望不吝赐教,多谢了!
user_tables 改成dba_tables更好。
1.可以写为: select * from tab where tname='AAA' select * from dba_tables where table_name='AAA' select * from user_tables where table_name='AAA' 2.其中tname和table_name所附表名要大写 3.dba_tables ,tab ,user_tables 内置,不随实际情况改变 4。查处结果为表的一般属性,查出后看看就会知道
select * from dba_tables where table_name='AAA' drop table aaa;
建义:oracle开发人员指南机械工业出版社。
我在SQL plus 中执行了一下这个select语句,得到的结果看不懂,望不吝赐教,多谢了!
select * from tab where tname='AAA'
select * from dba_tables where table_name='AAA'
select * from user_tables where table_name='AAA'
2.其中tname和table_name所附表名要大写
3.dba_tables ,tab ,user_tables 内置,不随实际情况改变
4。查处结果为表的一般属性,查出后看看就会知道
drop table aaa;