Query with error - DOW FROM timestamp

Поиск
Список
Период
Сортировка
От Victor Sterpu
Тема Query with error - DOW FROM timestamp
Дата
Msg-id em73716bc5-566b-4ff4-9085-6c4a65918d1e@victor-pc
обсуждение исходный текст
Ответы Re: Query with error - DOW FROM timestamp
Список pgsql-general
Hello
 
When I run the query from down I receive an error.
How can I write this query to receive the day ot the week.
SELECT EXTRACT(DOW FROM timestamp TO_TIMESTAMP('14-10-2011',  'DD-MM-YYYY'));
 
Thank you

DISCLAIMER:
Acest mesaj de posta electronica si documentele aferente sunt confidentiale. Este interzisa distribuirea, dezvaluirea sau orice alt mod de utilizare a lor. Daca nu sunteti destinatarul acestui mesaj, este interzis sa actionati in baza acestor informatii. Citirea, copierea, distribuirea, dezvaluirea sau utilizarea in alt mod a informatiei continute in acest mesaj constituie o incalcare a legii. Daca ati primit mesajul din greseala, va rugam sa il distrugeti, anuntand expeditorul de eroarea comisa. Intrucat nu poate fi garantat faptul ca posta electronica este un mod sigur si lipsit de erori de transmitere a informatiilor, este responsabilitatea dvs. sa va asigurati ca mesajul (inclusiv documentele alaturate lui) este validat si autorizat spre a fi utilizat in mediul dvs.

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

Предыдущее
От: basti
Дата:
Сообщение: archiving transaction log file failed too many times, will try again later
Следующее
От: Albe Laurenz
Дата:
Сообщение: Re: Query with error - DOW FROM timestamp