Menu

#21 Cannot set "NOT NULL" without setting a default value

open
nobody
5
2004-11-26
2004-11-26
Anonymous
No

CocoaMysql fails adding a row if I set it to NOT NULL
without specifying a default value. I don't want a
default value - it should fail runtime if the
application does not provide a value.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I agree with 'nobody'. Check your MySQL documentation and tutorials, and in
    particular look at the MySQL gotchas page:
    http://sql-info.de/mysql/gotchas.html .

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.