Re: SQL Query for Foreign constraint

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: Bhim Kumar <bhimkumar33(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: SQL Query for Foreign constraint
Date: 2014-03-20 21:45:11
Message-ID: 532B6167.7000609@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)iol(dot)ie

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andy Colson 2014-03-20 21:55:08 Re: SQL Query for Foreign constraint
Previous Message Venkata Balaji Nagothi 2014-03-20 21:42:48 Re: Dead rows not getting removed during vacuum