Re: Coming from Oracle SQL - Mailing list pgsql-sql

From Michael Fuhr
Subject Re: Coming from Oracle SQL
Date
Msg-id 20050423052959.GB96630@winnie.fuhr.org
Whole thread Raw
In response to Coming from Oracle SQL  (Veronica L Bounmixay <Veronica.Bounmixay@inl.gov>)
List pgsql-sql
On Tue, Apr 19, 2005 at 09:37:19AM -0600, Veronica L Bounmixay wrote:
>
> I have a dumb question to ask - as I'm certain all of my future ones will 
> be as well.  I am coming from the Oracle SQL PL/SQL side of things and 
> trying to get wrapped around PostgreSQL.  I used to find tables in Oracle 
> by using the following query and hoped to find a replacement.  Better 
> would be someplace to reference these sorts of "key" tables, etc that keep 
> track of the indexes, tables, columns and more.
> 
> select distinct table_name from all_tables;

See the "System Catalogs" and "The Information Schema" chapters in
the documentation.  If you're using psql, see the "Meta-Commands"
section in its documentation.

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/


pgsql-sql by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: Help to drop table
Next
From: Michael Fuhr
Date:
Subject: Re: Insert psql commands inside a script