jitesh Posted April 24, 2007 Share Posted April 24, 2007 Data truncated for column 'Type' at row 1 What is the meaning of this error ? Can anyone give idea ? -------------------------- CREATE TABLE `adcharges` ( `ID` int(10) NOT NULL auto_increment, `AdvtID` int(10) default NULL, `Ammount` float(10,2) default NULL, `Type` enum('LAYOUT_CHARGE','ADBUILDER_CHARGE','BILLING_CHARGES') default NULL, `Status` enum('PAID','UNPAID') default NULL, `Date` date default NULL, PRIMARY KEY (`ID`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=17 ; ------------------------- Thanks Quote Link to comment https://forums.phpfreaks.com/topic/48421-solved-data-truncated-for-column-type-at-row-1/ Share on other sites More sharing options...
mmarif4u Posted April 24, 2007 Share Posted April 24, 2007 What is ur version of mysql. May be: don't use enum to start with, use DECIMAL, enum stores an approximation of the value entered into it and shouldn't most likely be used for what you want to. Quote Link to comment https://forums.phpfreaks.com/topic/48421-solved-data-truncated-for-column-type-at-row-1/#findComment-236767 Share on other sites More sharing options...
jitesh Posted April 24, 2007 Author Share Posted April 24, 2007 Thanks mmarif4u. Solved the problem. Quote Link to comment https://forums.phpfreaks.com/topic/48421-solved-data-truncated-for-column-type-at-row-1/#findComment-236781 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.