From: manuel antonio ochoa <manuel8aalfaro@gmail.com>
To: pgsql-sql@postgresql.org
Subject: Compare the resulta of a count sql into bash
Date: Wed, 26 Jan 2011 11:07:05 -0600
Message-ID: <AANLkTikw09TZJGa8MMWPb9Rwt1_2Nom2fZjzVB8NhR+G@mail.gmail.com> (raw)
Hello,
I have the next :
COUNTONE=`/var/lib/pgsql/bin/./psql -U 'Thor' -d princlocal -p 5432 -h
192.170.1.82 -c "select count(*) from monterrey.${NOMBRETB}"`
COUNTTWO=`/var/lib/pgsql/bin/./psql -U 'Thor' -dprinclocal -p 5432 -h
192.170.1.82 -c "select count(*) from monterrey.$nombre where recibo
between '$FI' and '$FF'"
I want to compare the result countone with countwo how does it works ?
thnks
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: manuel8aalfaro@gmail.com
Subject: Re: Compare the resulta of a count sql into bash
In-Reply-To: <AANLkTikw09TZJGa8MMWPb9Rwt1_2Nom2fZjzVB8NhR+G@mail.gmail.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