| От | Sarah Officer |
|---|---|
| Тема | < and > for datetime |
| Дата | |
| Msg-id | 38879298.DBEBDF94@aries.tucson.saic.com обсуждение исходный текст |
| Ответы |
Re: < and > for datetime
|
| Список | pgsql-general |
Hi all,
I'm trying to find less than and greater than functions for
datetime types. It doesn't look the the time interval operators
would be appropriate, but I haven't found anything else in the
docs. Here's my snippet of plpgsql which fails:
select count(*) into rescount
from currentresults cr, masters m
where cr.ben = new.ben
and m.mi_id = cr.mi_id
and m.idate > mydate;
rescount & mydate are variables. How do I compare dates? I'd be
glad to read the documentation if I could find the right page.
Thanks,
Sarah
officers@aries.tucson.saic.com
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера