{"id":53,"date":"2007-03-21T07:48:40","date_gmt":"2007-03-21T13:48:40","guid":{"rendered":"http:\/\/thenoyes.com\/littlenoise\/?p=53"},"modified":"2007-03-21T07:48:40","modified_gmt":"2007-03-21T13:48:40","slug":"capital-just-capital","status":"publish","type":"post","link":"https:\/\/thenoyes.com\/littlenoise\/?p=53","title":{"rendered":"Capital. Just capital."},"content":{"rendered":"<p>Culled from the Certification Study Guide:<\/p>\n<pre>mysql> SELECT * FROM test;\r\n+----------------+\r\n| data           |\r\n+----------------+\r\n| This is a test |\r\n+----------------+\r\n1 row in set (0.00 sec)\r\n\r\nmysql> SELECT UPPER(data) FROM test;\r\n+----------------+\r\n| UPPER(data)    |\r\n+----------------+\r\n| This is a test |\r\n+----------------+\r\n1 row in set (0.03 sec)<\/pre>\n<p>How&#8217;s that work?<\/p>\n<p><spoiler 'Show Answer' 'Hide Answer'><\/p>\n<pre>\r\n CREATE TABLE `test` (\r\n   `data` varbinary(255) default NULL\r\n );\r\n<\/pre>\n<p>Binary strings are just a list of bytes. They aren&#8217;t characters anymore, so there is no upper or lower case. Remember that when choosing between char\/varchar\/text and binary\/varbinary\/blob.<\/spoiler><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Culled from the Certification Study Guide: mysql> SELECT * FROM test; +&#8212;&#8212;&#8212;&#8212;&#8212;-+ | data | +&#8212;&#8212;&#8212;&#8212;&#8212;-+ | This is a test | +&#8212;&#8212;&#8212;&#8212;&#8212;-+ 1 row in set (0.00 sec) mysql> SELECT UPPER(data) FROM test; +&#8212;&#8212;&#8212;&#8212;&#8212;-+ | UPPER(data) | +&#8212;&#8212;&#8212;&#8212;&#8212;-+ | This is a test | +&#8212;&#8212;&#8212;&#8212;&#8212;-+ 1 row in set (0.03 sec) How&#8217;s that work? [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[6],"tags":[],"class_list":["post-53","post","type-post","status-publish","format-standard","hentry","category-gotchas"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2IBF1-R","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=\/wp\/v2\/posts\/53","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=53"}],"version-history":[{"count":0,"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=\/wp\/v2\/posts\/53\/revisions"}],"wp:attachment":[{"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=53"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=53"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=53"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}