List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:May 8 2002 3:03pm
Subject:Re: Fwd: Re: Default-less columns ?
View as plain text  
At 16:32 +0200 5/8/02, Matthias Urlichs wrote:
>Hi,
>
>>MU> is it possible to have a column which does NOT have a default value, i.e.
>>MU> an INSERT query should fail if no value is given..?
>>
>>You should compile MySQL server with -DDONT_USE_DEFAULT_FIELDS option.
>>Look at:
>>      http://www.mysql.com/doc/B/u/Bugs.html
>
>Well, that option seems to tell MySQL not to use ANY default fields, 
>which is not what I want.
>
>Or is it misnamed??

It's not misnamed, but it doesn't do what you want -- that is, you
cannot specify that some columns can have no default value and that
others can.

>--
>Matthias Urlichs

Thread
Fwd: Re: Default-less columns ?Unknown Sender8 May
  • Re: Fwd: Re: Default-less columns ?Paul DuBois8 May