Re: [SQL] Another Date question

Поиск
Список
Период
Сортировка
От Andy Lewis
Тема Re: [SQL] Another Date question
Дата
Msg-id Pine.LNX.4.05.9912030802590.12901-100000@rns.roundnoon.com
обсуждение исходный текст
Ответ на Re: [SQL] Another Date question  (Stoyan Genov <genov@digsys.bg>)
Список pgsql-sql
I knew I was close, this example should be used in the documentation. I'd
certainly be helpful!

Thanks.

Andy

On Fri, 3 Dec 1999, Stoyan Genov wrote:

> Hi,
> No need of functions. You can do it like this:
> 
> CREATE TABLE mytable (mydate datetime DEFAULT now() + '@60 days');
> 
> Regards,
> Stoyan Genov
> 
> > Hello All!
> > 
> > I'd like to create a table with a datetime field that defaults to +60
> > days.
> > 
> > mydate datetime default 'now() +@60 days',
> > ...
> > 
> > Doesn't seem to work.
> > 
> > What am I missing?
> > 
> > Thanks
> > 
> > Andy
> > 
> > 
> > ************
> > 
> 
> 



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

Предыдущее
От: jdibartolomeo@agency.com
Дата:
Сообщение: ...
Следующее
От: Mario Jorge Nunes Filipe
Дата:
Сообщение: Wierd stuff