John Topley's Knowledgebase

SQL Statement To List Tables Within Current Schema

Friday, 10 September 2004

This Oracle SQL statement will display the names of all the tables within the current user's schema.

SELECT table_name FROM user_tables;

To display the names of all the tables that the current user has access to, use:

SELECT table_name FROM all_tables;

top | index | previous | next | comments ()

home | archive | kb | media | about | contact | accessibility
Copyright © 2003 - 2005 John Topley. Made with CityDesk.