List:General Discussion« Previous MessageNext Message »
From:Miao Jiang Date:January 30 2010 3:58pm
Subject:How to force Warning: #1048 Column cannot be null to Error
View as plain text  
When I try insert NULL to VARCHAR NOT NULL column,  It will shows a 
warning and convert NULL to '' then insert 。
I want to MySQL raise an exception when I try do that.
How to do that?

Thank you.
Miao

Thread
How to force Warning: #1048 Column cannot be null to ErrorMiao Jiang30 Jan
  • Re: How to force Warning: #1048 Column cannot be null to ErrorClaudio Nanni30 Jan
    • Re: How to force Warning: #1048 Column cannot be null to ErrorWagner Bianchi30 Jan