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
> >
> >
> > ************
> >
>
>