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

Home -> Community -> Usenet -> comp.databases.theory -> Re: Generalized query to determine the table a query or a view's columns come from?

Re: Generalized query to determine the table a query or a view's columns come from?

From: Bob Hairgrove <invalid_at_bigfoot.com>
Date: Sat, 04 Mar 2006 00:59:56 +0100
Message-ID: <21mh02pohg2drop3iitd800lpc8065br8a@4ax.com>


On Sat, 04 Mar 2006 00:45:17 +0100, Bob Hairgrove <invalid_at_bigfoot.com> wrote:

>Try the SQL command "describe xxx" and substitute the view name
>(perhaps prefixed by the schema name) for xxx.

Sorry, in ANSI SQL it would be "describe table ...", but in PostgreSQL you need something like "\d+ [table or view name]".

I never did this in PostgreSQL myself.

--
Bob Hairgrove
NoSpamPlease_at_Home.com
Received on Fri Mar 03 2006 - 17:59:56 CST

Original text of this message

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