Question : #1265 - Data truncated for column, what does this mean ?

I'm getting this error...

#1265 - Data truncated for column

The query is trying to insert '' into the table.

I thought truncated meant too long.

Answer : #1265 - Data truncated for column, what does this mean ?

what is the data type for the column? If it is a smallint or other number field, you may be inserting a string into a number column. Try inserting 0 or NULL instead.
Random Solutions  
 
programming4us programming4us