Re: SQL Query for Foreign constraint - Mailing list pgsql-general

From Raymond O'Donnell
Subject Re: SQL Query for Foreign constraint
Date
Msg-id 532B6167.7000609@iol.ie
Whole thread Raw
In response to SQL Query for Foreign constraint  (Bhim Kumar <bhimkumar33@gmail.com>)
Responses Re: SQL Query for Foreign constraint  (Andy Colson <andy@squeakycode.net>)
List pgsql-general
On 20/03/2014 07:48, Bhim Kumar wrote:
> Hi sir
>
> Currently I am using following query on mysql :
>
> * SHOW TABLES;   ---> To get list of table in a particular db.

Assuming you're using psql, did you take the advice you're given on
connection and type "help"?

Anyway, to see a list of tables just enter:

 \d

Lots of handy backslash commands are available - \? will tell you more,
as will the fine manual:

  http://www.postgresql.org/docs/9.3/static/app-psql.html

Ray.


--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie


pgsql-general by date:

Previous
From: Venkata Balaji Nagothi
Date:
Subject: Re: Dead rows not getting removed during vacuum
Next
From: Andy Colson
Date:
Subject: Re: SQL Query for Foreign constraint