From: | Michael Fuhr <mike(at)fuhr(dot)org> |
---|---|
To: | Veronica L Bounmixay <Veronica(dot)Bounmixay(at)inl(dot)gov> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Coming from Oracle SQL |
Date: | 2005-04-23 05:29:59 |
Message-ID: | 20050423052959.GB96630@winnie.fuhr.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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/
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Fuhr | 2005-04-23 05:50:55 | Re: Insert psql commands inside a script |
Previous Message | Michael Fuhr | 2005-04-23 05:26:44 | Re: Help to drop table |