Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Query to retrieve user tables only

Query to retrieve user tables only

From: <dotlambda_at_gmail.com>
Date: 5 Mar 2007 14:36:35 -0800
Message-ID: <1173134195.202236.229890@64g2000cwx.googlegroups.com>


Hi,

I need to retrieve a list of tables created by users.

The following query is not suitable because it retrieves system (or not user defined) tables as well:

SELECT * FROM user_tables

So far I've been using the following one:

SELECT table_name, tablespace_name FROM user_tables WHERE table_name NOT LIKE '%$%' AND tablespace_name <> 'SYSAUX'

Can you confirm that this is the right way of achieving this? Or is there a more accurate query?

Thank you in advance. Received on Mon Mar 05 2007 - 16:36:35 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US