Re: Enum issue

2007-01-10 Thread Joerg Bruehe
Hi Olaf, all ! Olaf Stein wrote: Hi All If I have a column `consent` enum('Y','N','P') default NULL, And I try to insert 'NULL' I get this error: Warning: Data truncated for column 'consent' at row 1 What is the problem there? Double-check your command: 'NULL' is a string of four (4)

Enum issue

2007-01-09 Thread Olaf Stein
Hi All If I have a column `consent` enum('Y','N','P') default NULL, And I try to insert 'NULL' I get this error: Warning: Data truncated for column 'consent' at row 1 What is the problem there? What I am doing is moving data from one table to another with a python script so I have to assign

Re: Enum issue

2007-01-09 Thread ViSolve DB Team
('','Y','N','P') | YES | | NULL| | +---+--+--+-+-+---+ Thanks ViSolve DB Team - Original Message - From: Olaf Stein [EMAIL PROTECTED] To: MySql mysql@lists.mysql.com Sent: Wednesday, January 10, 2007 3:44 AM Subject: Enum issue