DISQUS

DISQUS Hello! Code Spatter is using DISQUS, a powerful comment system, to manage its comments. Learn more.

Community Page

Jump to original thread »
Author

Careful with Numeric Data Types in MySQL

Started by Greg Allard · 10 månader sedan

TINYINT can be set to length of 4, but that doesn’t mean the max value is 9999. A tiny int will always have the same range no matter what size you specify since that isn’t what it is for with integers. It is the display width for the command line output.
This is what I wa ... Continue reading »

1 comment

  • Any ideas as to why they did that? It seems like an awkward syntax; where we usually input a storage size, they went with a display size value. Something like this would be more useful on a LONGTEXT field.

Add New Comment

Returning? Login