首先连接那个用户
connect scott/tiger
使用
select * from tab
select * from user_tables
都可以,查看每张表的字段数你只能使用
desc tablename
了,而且的每张表都做一次,对于记录数,使用
select count(*) from tablename
就行了,这也是每张表做一次,如果希望一次查处,就的自己编写PL/SQL程序了
connect scott/tiger
使用
select * from tab
select * from user_tables
都可以,查看每张表的字段数你只能使用
desc tablename
了,而且的每张表都做一次,对于记录数,使用
select count(*) from tablename
就行了,这也是每张表做一次,如果希望一次查处,就的自己编写PL/SQL程序了
------------------------------
select count(*) from user_tables where owner='USER_NAME';