Re: [GENERAL] Use of datepart() on TimeStamp.

Поиск
Список
Период
Сортировка
От Jose Soares
Тема Re: [GENERAL] Use of datepart() on TimeStamp.
Дата
Msg-id 3896DDEA.388986AC@sferacarta.com
обсуждение исходный текст
Ответ на Re: [GENERAL] Use of datepart() on TimeStamp.  (Karel Zak - Zakkr <zakkr@zf.jcu.cz>)
Ответы Re: [GENERAL] Use of datepart() on TimeStamp.
Список pgsql-general

Karel Zak - Zakkr wrote:

> On Mon, 31 Jan 2000, Jose Soares wrote:
>
> >
> >
> > Jeffrey Silberberg wrote:
> >
> > >     Using Access 97 I have a Database field defined as a time stamp being
> > > pulled in as a data type of date/time which is correct.  My problem is that
> > > I now what to add some criteria to select it and have tried both the
> > > criteria of Date()-1 which results in an empty set, and createing a new
> > > field =datepart("yymmdd", [fieldname] which results in the new column being
> >
> > check for datepart() syntax:
> > datepart("yymmdd") returns  #Error but
> > datepart("yyyy") is ok.
>
> In next PostgreSQL version will available to_char() routines. It allow
> you to use "yymmdd" date format.
>
>                                                 Karel
>
> ************

I suppose do you refer to PostgreSQL date_part() function, while datepart() is a
M$Access function.

--
Jose' Soares
Bologna, Italy                     Jose@sferacarta.com



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

Предыдущее
От: Sevo Stille
Дата:
Сообщение: Re: [GENERAL] Linking in sin() as a C function
Следующее
От: Karel Zak - Zakkr
Дата:
Сообщение: Re: [GENERAL] Use of datepart() on TimeStamp.