table and its count [message #229179] |
Thu, 05 April 2007 14:10 |
ozzy80
Messages: 55 Registered: June 2005
|
Member |
|
|
Hello,
Is there a table or view that can give me the list of all the tables in a schema and their counts, respectivily.
It wouldn't be possible to write a SQL on USER_TABLES or something and pass the table name as the variable, would it?
Thanks
|
|
|
Re: table and its count [message #229180 is a reply to message #229179] |
Thu, 05 April 2007 14:15 |
|
Mahesh Rajendran
Messages: 10708 Registered: March 2002 Location: oracleDocoVille
|
Senior Member Account Moderator |
|
|
Check user_tables.num_rows.
Be advised that, these values are not always correct and
* will be populated only after collecting stats
* may be outdated.
* anyone with proper access can set explicit values using SET_TABLE_STATS.
Search the forum for more information
[Updated on: Thu, 05 April 2007 14:17] Report message to a moderator
|
|
|
|
|