Re: generated dates from record dates - suggestions

Поиск
Список
Период
Сортировка
От Gary Stainburn
Тема Re: generated dates from record dates - suggestions
Дата
Msg-id 201208211131.49999.gary.stainburn@ringways.co.uk
обсуждение исходный текст
Ответ на generated dates from record dates - suggestions  (Gary Stainburn <gary.stainburn@ringways.co.uk>)
Список pgsql-sql
On Tuesday 21 August 2012 02:01:55 Johnny Winn wrote:
> I would define a function and use it to abstract the expected behavior. It
> would appear that there are several conditions so this abstraction would
> provide for both usability and maintainability.
>
> - Johnny

Johnny,

This was what I was wondering, and was looking for suggestions / best 
practices on how to do this.

I had first thought of embedding case/when statements in the view but it could 
easily become unweildy

-- 
Gary Stainburn
Group I.T. Manager
Ringways Garages
http://www.ringways.co.uk 



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

Предыдущее
От: "Oliveiros d'Azevedo Cristina"
Дата:
Сообщение: Re: generated dates from record dates - suggestions
Следующее
От: Jasen Betts
Дата:
Сообщение: Re: generated dates from record dates - suggestions