Re: Counting days ...

Поиск
Список
Период
Сортировка
От Frank Bax
Тема Re: Counting days ...
Дата
Msg-id 47DAA330.8070409@sympatico.ca
обсуждение исходный текст
Ответ на Re: Counting days ...  (Aarni Ruuhimäki <aarni@kymi.com>)
Ответы Re: Counting days ...
Список pgsql-sql
Aarni Ruuhimäki wrote:
> Thanks Frank,
> 
>>> a    start_day before period_start, end_day before period_start
> 
> This I don't have to care about as it is not in the period we are looking at.
> 
>>> b    start_day = period_start, end_day = period_start
> 
> Is zero days/nights, ignored. Not even possible to insert in the application. 
> end_day must be greater than start_day.


You should still consider rows that are "out of range" or "zero nights" 
in your test cases to make sure your report processes them correctly.


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

Предыдущее
От: Steve Crawford
Дата:
Сообщение: Re: Counting days ...
Следующее
От: PostgreSQL Admin
Дата:
Сообщение: DB Design