Possible Duplicate:
Oracle: get list of all tables?
How do I list all tables in a schema in Oracle SQL?
I want to list all table in another schema.
connect hr/hr;
select table_name from user_tables;
but I want to skip the "connect" command. I want to run query from another schema. Is that possible to do?
SELECT TABLE_NAME
FROM ALL_TABLES
WHERE OWNER='OTHER-SCHEMA'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With