Compare the resulta of a count sql into bash

Поиск
Список
Период
Сортировка
От manuel antonio ochoa
Тема Compare the resulta of a count sql into bash
Дата
Msg-id AANLkTikw09TZJGa8MMWPb9Rwt1_2Nom2fZjzVB8NhR+G@mail.gmail.com
обсуждение исходный текст
Ответы Re: Compare the resulta of a count sql into bash  (Josh Kupershmidt <schmiddy@gmail.com>)
Re: Compare the resulta of a count sql into bash  (Scott Marlowe <scott.marlowe@gmail.com>)
Список pgsql-sql
<br />Hello,<br />I have the next :<br /><br />COUNTONE=`/var/lib/pgsql/bin/./psql -U 'Thor'   -d princlocal -p 5432 -h
192.170.1.82 -c "select count(*) from monterrey.${NOMBRETB}"`<br />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'"<br/><br />I want to compare the result countone with countwo  how does it works  ? <br /><br /><br /><br />thnks
<br/><br /><br /><br /> 

В списке pgsql-sql по дате отправления:

Предыдущее
От: "Oliveiros d'Azevedo Cristina"
Дата:
Сообщение: Re: how to get row number in select query
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: check files .backup