RE: [SQL] indexing a datetime by date

Поиск
Список
Период
Сортировка
От Jackson, DeJuan
Тема RE: [SQL] indexing a datetime by date
Дата
Msg-id D05EF808F2DFD211AE4A00105AA1B5D2037A23@cpsmail
обсуждение исходный текст
Список pgsql-sql
> How about using the ANSI standard CURRENT_DATE instead of either? It's
> already of type date. Or is it considered a function call?
> 
> Herouth
Not sure how PostgreSQL implements that.
It would appear to be implemented just as now().
Try:select CURRENT_DATE::TIME, now()::TIME;
-DEJ


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [SQL] indexing a datetime by date
Следующее
От: Andrew Merrill
Дата:
Сообщение: Re: [SQL] indexing a datetime by date