Search Postgresql Archives

Re: Query to find list of dates between two dates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You could use a query like this one here:

   and table.BEGIN_DATE <= pREFERENCE_END_DATE
   and (table.END_DATE   >= pREFERENCE_BEGIN_DATE or table.END_DATE is null)

Best Regards



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux