Re: Query from shell

From: Terry Lee Tucker <terry(at)esc1(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Query from shell
Date: 2006-04-06 21:40:47
Message-ID: 200604061740.47691.terry@esc1.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


On Thursday 06 April 2006 02:37 pm, Judith saith:
> Hi every body, somebody can show me hot to execute a query from a
> shell
>
> thanks in advanced!!!
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
> http://archives.postgresql.org

Do this:
psql -c 'SELECT code FROM cust' rnd;

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message kevin.kempter 2006-04-06 21:43:16 Re: Query from shell
Previous Message Bricklen Anderson 2006-04-06 21:39:44 Re: Query from shell