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 Jasen Betts <jasen@xnet.co.nz>

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



В списке pgsql-sql по дате отправления
От: Oliveiros d'Azevedo Cristina
Дата:
От: Craig Ringer
Дата:
Сообщение: Re: check files .backup
FAQ