Re: Should I use CAST?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Should I use CAST?
Дата
Msg-id 14161.1007399114@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Should I use CAST?  ("Campano, Troy" <Troy.Campano@LibertyMutual.com>)
Список pgsql-general
"Campano, Troy" <Troy.Campano@LibertyMutual.com> writes:
> Any ideas what I can do to make a VARCHAR column a date?
> All the dates are in this format: 10/23/2002

Use to_date().  See

http://www.ca.postgresql.org/users-lounge/docs/7.1/postgres/functions-formatting.html

            regards, tom lane

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

Предыдущее
От: Doug McNaught
Дата:
Сообщение: Re: Determining current database programmatically
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: interval