Re: Date question....

Поиск
Список
Период
Сортировка
От Kovalcik, Mike A [ITS]
Тема Re: Date question....
Дата
Msg-id 480641561E05E94D9B6CCE1E39AA0300014E06E9@PDAWB06C.ad.sprint.com
обсуждение исходный текст
Ответ на Date question....  ("Kovalcik, Mike A [ITS]" <mkoval01@sprintspectrum.com>)
Список pgsql-admin
Well....

I set my table up like...

Bday date

Where bday is my column name and date is the data type....

I've tried a lot of things to remove it, but I've had no luck:

UPDATE address SET Bday = '' WHERE addressid = '4'

This is when it gives me the error, but I'm not sure what else to put
there to make sure it is in date format to remove the date completely...

Thanks,
Mike

-----Original Message-----
From: Bruno Wolff III [mailto:bruno@wolff.to]
Sent: Thursday, May 22, 2003 7:13 AM
To: Kovalcik, Mike A [ITS]
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Date question....


On Tue, May 20, 2003 at 18:08:22 -0500,
  "Kovalcik, Mike A [ITS]" <mkoval01@sprintspectrum.com> wrote:
> Hi,
>
> I'm trying to remove a date from table and it won't work.  Basically I

> have an address book with birthdays and anniversaries and I want to
> remove an anniversary date from one of the entries.  Every time I try
> it gives me "Bad date external representation".  How do I remove a
> date from an entry?

The answer depends on how the date is represented. Why don't you show us
how the table is defined and the statement you tried, but that didn't
work.

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

Предыдущее
От: "Kovalcik, Mike A [ITS]"
Дата:
Сообщение: Re: Date question....
Следующее
От: Ernest E Vogelsinger
Дата:
Сообщение: Q: Structured index - which one runs faster?