Hi guys
I am having a issue
When i import rows into my database. It put every value above 1000 as 1000
So even if it was 567843.56 it goes in as 1000
My field type is decimal(10,2)
So it should be ok? Thanks in advance for your help
| SitePoint Sponsor |




Hi guys
I am having a issue
When i import rows into my database. It put every value above 1000 as 1000
So even if it was 567843.56 it goes in as 1000
My field type is decimal(10,2)
So it should be ok? Thanks in advance for your help
How do you do the import?
Guido - Community Team Advisor
Do you know where the (database) error is? Add it to the list!
Thinking Web: Voices of the Community
Blog - Free Flash Slideshow Widget




I import from a csv file and input via a mysql query
PHP? Can you post the code?
Guido - Community Team Advisor
Do you know where the (database) error is? Add it to the list!
Thinking Web: Voices of the Community
Blog - Free Flash Slideshow Widget

change it to decimal(10,12)
Check out our new Industry News forum!
Keep up-to-date with the latest SP news in the Community Crier
I edit the SitePoint Podcast





Doesn't the second number have to be smaller than the first, longneck?
Bookmarks