Home » RDBMS Server » Server Administration » All Table
All Table [message #372647] Thu, 01 March 2001 16:55 Go to next message
Ralphie
Messages: 14
Registered: October 2000
Junior Member
In SQL Plus is there a way to see all the tables in one users Schema?

Thank you in advance,

Chris
Re: All Table [message #372649 is a reply to message #372647] Thu, 01 March 2001 23:41 Go to previous messageGo to next message
ramu
Messages: 82
Registered: February 2001
Member
There are many ways to select the schema objects..

1. select t_name from tab where tabtype='TABLE';

2. select table_name from tabs;

3. select object_name from user_objects;

4. select object_name from all_objects where owner='&owner';

5. select table_name from user_tables;

6. select table_name from all_tables where
owner='&owner';

Thanks..
Ramu.
Re: All Table [message #372659 is a reply to message #372647] Fri, 02 March 2001 09:46 Go to previous messageGo to next message
Ralphie
Messages: 14
Registered: October 2000
Junior Member
This is helpful, but i am unable to use these commands in SQL. Can you help me with what the object_name, table_name, user_tables, t_name, tab, tabtype and all_objects represent? I'm unable to use these from SQL Plus and I'm not very familiar with Oracle views or system objects.

Thank you for your help,

Chris
Re: All Table [message #372662 is a reply to message #372647] Fri, 02 March 2001 11:53 Go to previous messageGo to next message
ramu
Messages: 82
Registered: February 2001
Member
Hi Chris!

Let me know do you have Oracle in your system or are you working in Oracle? Only you can do this in SQL Plus..

Thanks..

Ramu..
Re: All Table [message #372811 is a reply to message #372647] Sun, 11 March 2001 08:06 Go to previous message
Sunil Nair
Messages: 6
Registered: March 2001
Junior Member
hello chrisf,
you can query a user_tables data dictionary views

sql>SELECT TABLE_NAME FROM USER_TABLES;
Previous Topic: Re: date time and long number
Next Topic: How to install enterprise manager
Goto Forum:
  


Current Time: Sat Jun 29 13:32:53 CDT 2024