pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Terry Lee Tucker <terry@esc1.com>
To: pgsql-sql@postgresql.org
Subject: Re: Query from shell
Date: Thu, 6 Apr 2006 16:40:47 -0500
Message-ID: <200604061740.47691.terry@esc1.com> (raw)
In-Reply-To: <44355FE4.20309@correolux.com.mx>
References: <44355FE4.20309@correolux.com.mx>


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;




view thread (6+ messages)  latest in thread

Message-ID: <200604061740.47691.terry@esc1.com>
Permalink:  ../200604061740.47691.terry@esc1.com/
Also on:    postgresql.org/message-id/200604061740.47691.terry@esc1.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: terry@esc1.com
  Subject: Re: Query from shell
  In-Reply-To: <200604061740.47691.terry@esc1.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox