{"id":9444,"date":"2015-07-25T20:48:34","date_gmt":"2015-07-25T11:48:34","guid":{"rendered":"http:\/\/www.itblog.jp\/?p=9444"},"modified":"2015-07-25T21:06:05","modified_gmt":"2015-07-25T12:06:05","slug":"mysql%e3%81%ae%e3%83%87%e3%83%bc%e3%82%bf%e3%83%99%e3%83%bc%e3%82%b9%e3%81%ae%e3%83%86%e3%83%bc%e3%83%96%e3%83%ab%e3%81%ae%e5%9e%8b%e3%81%ae%e4%bb%98%e3%81%91%e6%96%b9","status":"publish","type":"post","link":"https:\/\/www.itblog.jp\/?p=9444","title":{"rendered":"MySQL\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30c6\u30fc\u30d6\u30eb\u306e\u578b\u306e\u4ed8\u3051\u65b9"},"content":{"rendered":"<p>\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3067\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30c6\u30fc\u30d6\u30eb\u4f5c\u6210\u6642\u306b\u8003\u3048\u308b\u5fc5\u8981\u304c\u3042\u308b\u3053\u3068\u304c\u3001\u9805\u76ee\u3078\u306e\u578b\u306e\u4ed8\u3051\u65b9\u3067\u3059\u3002<\/p>\n<p>\u9805\u76ee\u306b\u5165\u308b\u306e\u306b\u9069\u3057\u305f\u578b\u3092\u4ed8\u3051\u308b\u3053\u3068\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30c7\u30fc\u30bf\u91cf\u3082\u5909\u308f\u3063\u3066\u304f\u308b\u306e\u3067\u3001\u306a\u308b\u3079\u304f\u9069\u5207\u306a\u578b\u3092\u3064\u3051\u305f\u3044\u3068\u3053\u308d\u3067\u3059\u3002<\/p>\n<p>\u578b\u306e\u4ed8\u3051\u65b9\u306b\u95a2\u3057\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u30b5\u30a4\u30c8\u306e\u8aac\u660e\u304c\u53c2\u8003\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p><a href=\"https:\/\/phpjavascriptroom.com\/?t=mysql&#038;p=columntype\">MySQL\u306e\u30ab\u30e9\u30e0\u578b\uff08\u6709\u52b9\u7bc4\u56f2\u3068\u5fc5\u8981\u8a18\u61b6\u5bb9\u91cf\uff09\uff5cMySQL\uff5cPHP &amp; JavaScript Room<\/a><\/p>\n<p>\u9805\u76ee\u3067INT\u578b\u306b\u3059\u308b\u304b\u3001SAMALLINT\u578b\u306b\u3059\u308b\u304b\u3001TINYINT\u578b\u306b\u3059\u308b\u304b\u306a\u3069\u3001\u305d\u308c\u305e\u308c\u306e\u578b\u3067\u3069\u306e\u5927\u304d\u3055\u306e\u5024\u307e\u3067\u683c\u7d0d\u51fa\u6765\u308b\u304b\u306e\u8aac\u660e\u304c\u5206\u304b\u308a\u3084\u3059\u304f\u63b2\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u6570\u5024\u3067\u3042\u3063\u3066\u3082TEXT\u578b\u3067\u683c\u7d0d\u3059\u308b\u3053\u3068\u306f\u53ef\u80fd\u3067\u3059\u304c\u3001\u578b\u6307\u5b9a\u304c\u3067\u304d\u3066\u3044\u306b\u3042\u3068\u30bd\u30fc\u30c8\u3059\u308b\u3068\u304d\u306b\u6b63\u3057\u304f\u6bd4\u8f03\u3067\u304d\u306a\u3044\u3053\u3068\u3082\u3042\u308b\u306e\u3067\u3001\u6b63\u3057\u3044\u578b\u6307\u5b9a\u3092\u3057\u3066\u304a\u304f\u3053\u3068\u304c\u63a8\u5968\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001MYSQL\u3067\u306f\u578b\u3092\u6307\u5b9a\u3059\u308b\u3068\u304d\u306bint(11)\u306a\u3069\u3068\u9577\u3055\u3092\u6307\u5b9a\u3057\u307e\u3059\u304c\u3001\u3053\u306e\u610f\u5473\u306f\u3001\u300c\u683c\u7d0d\u3055\u308c\u305f\u5024\u304c\u6307\u5b9a\u3057\u305f\u6841\u6570\u306b\u6e80\u305f\u306a\u3044\u6642\u306b\u3001\u5de6\u5074\u3092\u7a7a\u767d\u3067\u57cb\u3081\u308b\u300d\u3068\u3044\u3046\u610f\u5473\u3060\u305d\u3046\u3067\u3001\u305d\u306e\u610f\u5473\u3067\u306fint(100)\u3060\u308d\u3046\u304c\u7279\u306b\u554f\u984c\u306f\u306a\u3044\u3088\u3046\u3067\u3059\u3002<br \/>\n\u307e\u305f\u3001\u30aa\u30d7\u30b7\u30e7\u30f3\u5c5e\u6027\u306e ZEROFILL \u3092\u4f7f\u7528\u3057\u305f\u969b\u306b\u3001\u30b9\u30da\u30fc\u30b9\u306b\u4ee3\u308f\u3063\u3066\u30bc\u30ed\u304c\u57cb\u3081\u8fbc\u307e\u308c\u308b\u969b\u306e\u5e45\u3060\u305d\u3046\u3067\u3059\u3002<\/p>\n<p>\u57fa\u672c\u7684\u306b\u306f\u3001\u4f8b\u3048\u3070INT\u3067\u3042\u308c\u3070\u4ee5\u4e0b\u306e\u6307\u5b9a\u3067\u554f\u984c\u306a\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>TINYINT(4) -128\uff5e127<br \/>\nSMALLINT(6) -32,768\uff5e32,767<br \/>\nMEDIUMINT(8) -8,388,608\uff5e8,388,607<br \/>\nINT(11) -2,147,483,648\uff5e2,147,483,647<br \/>\nBIGINT(20) -9,223,372,036,854,775,808\uff5e9,223,372,036,854,775,807<\/p>\n<p>\u5c0f\u3055\u3044\u578b\u6307\u5b9a\u3067\u3042\u308c\u3070\u305d\u306e\u3076\u3093\u4f7f\u7528\u3059\u308b\u30c7\u30fc\u30bf\u9818\u57df\u3082\u5c11\u306a\u304f\u6e08\u307f\u307e\u3059\u306e\u3067\u3001\u9069\u5207\u306a\u6307\u5b9a\u304c\u7406\u60f3\u7684\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3067\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30c6\u30fc\u30d6\u30eb\u4f5c\u6210\u6642\u306b\u8003\u3048\u308b\u5fc5\u8981\u304c\u3042\u308b\u3053\u3068\u304c\u3001\u9805\u76ee\u3078\u306e\u578b\u306e\u4ed8\u3051\u65b9\u3067\u3059\u3002 \u9805\u76ee\u306b\u5165\u308b\u306e\u306b\u9069\u3057\u305f\u578b\u3092\u4ed8\u3051\u308b\u3053\u3068\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30c7\u30fc\u30bf\u91cf\u3082\u5909\u308f\u3063\u3066\u304f\u308b\u306e\u3067\u3001\u306a\u308b\u3079\u304f\u9069\u5207\u306a\u578b\u3092\u3064\u3051\u305f\u3044\u3068\u3053\u308d\u3067\u3059\u3002 \u578b\u306e [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[131],"tags":[],"class_list":["post-9444","post","type-post","status-publish","format-standard","hentry","category-131"],"_links":{"self":[{"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/posts\/9444","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9444"}],"version-history":[{"count":1,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/posts\/9444\/revisions"}],"predecessor-version":[{"id":9445,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/posts\/9444\/revisions\/9445"}],"wp:attachment":[{"href":"https:\/\/www.itblog.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9444"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9444"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}