data truncated for column XX at row 1
I have a problem whith my new install of mysql 5.0.11.
I have some code that executes the following sql through odbc:
insert into tbl (c1,c2) values ('v1','');
the table def is
c1 varchar(45)
c2 double default null
the insert statement use to work under mysql 4.xx but not it trows a "Data truncated for column c2 at row 1".
I understand (I think :) what's wrong with the insert (inserting a double as '') but, is there a way (change some settings) to make this work? what exactly is the problem inserting a numeric value that way?
Thanks in advance for any help.
Jaime
Subject
Written By
Posted
data truncated for column XX at row 1
December 28, 2006 01:02AM
December 28, 2006 07:16AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.