{"id":31667,"date":"2015-07-26T01:43:16","date_gmt":"2015-07-25T16:43:16","guid":{"rendered":"http:\/\/www.softantenna.com\/wp\/?p=31667"},"modified":"2015-07-26T01:43:16","modified_gmt":"2015-07-25T16:43:16","slug":"sql-style-guide","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/sql-style-guide\/","title":{"rendered":"SQL Style Guide - \u308f\u304b\u308a\u3084\u3059\u3044SQL\u3092\u66f8\u304f\u305f\u3081\u306e\u30b9\u30bf\u30a4\u30eb\u30ac\u30a4\u30c9"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2015\/07\/ISQL_style_guide_by_Simon_Holywell.png\" alt=\"SQL style guide by Simon Holywell\" title=\"SQL_style_guide_by_Simon_Holywell.png\" border=\"0\" width=\"544\" height=\"303\" \/><\/p>\n<p>\u30ea\u30ec\u30fc\u30b7\u30e7\u30ca\u30eb\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u64cd\u4f5c\u3059\u308b\u305f\u3081\u306e\u8a00\u8a9e\u300cSQL\u300d\u3002\u81ea\u7531\u5ea6\u304c\u9ad8\u304f\u3055\u307e\u3056\u307e\u306a\u66f8\u304d\u65b9\u304c\u8a31\u5bb9\u3055\u308c\u308b\u306e\u3067\u3001\u4ed6\u306e\u4eba\u306e\u66f8\u3044\u305fSQL\u3092\u89e3\u8aad\u3059\u308b\u306e\u304c\u96e3\u3057\u3044\u5834\u5408\u3082\u3042\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u4ed6\u4eba\u306b\u3084\u3055\u3057\u3044\u3001\u5c11\u3057\u3067\u3082\u5206\u304b\u308a\u3084\u3059\u3044SQL\u3092\u66f8\u304f\u305f\u3081\u306b\u306f\u6a21\u7bc4\u3068\u306a\u308b\u30b9\u30bf\u30a4\u30eb\u30ac\u30a4\u30c9\u3092\u53c2\u7167\u3059\u308b\u3068\u826f\u3044\u3067\u3057\u3087\u3046\u3002\u300c<a href=\"http:\/\/www.sqlstyle.guide\/\">SQL Style Guide<\/a>\u300d\u306f\u958b\u767a\u8005Simon Holywell\u6c0f\u304c\u4f5c\u6210\u3057\u305f\u30b9\u30bf\u30a4\u30eb\u30ac\u30a4\u30c9\u3067\u3001Joe Celko\u6c0f\u306e\u6280\u8853\u66f8<a href=\"http:\/\/www.amazon.com\/gp\/product\/0120887975\/\">SQL Programming Style<\/a>\u3068\u4e92\u63db\u6027\u3092\u6301\u3061\u3001\u540c\u66f8\u306e\u5185\u5bb9\u3092\u5b9f\u8df5\u3057\u3066\u3044\u308b\u958b\u767a\u30c1\u30fc\u30e0\u306b\u3068\u3063\u3066\u306f\u99b4\u67d3\u307f\u3084\u3059\u3044\u3082\u306e\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<h2>\u898f\u7d04\u306b\u7d76\u5bfe\u306f\u306a\u3044\u304c<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2015\/07\/ISQL_style_guide_by_Simon_Holywell2.png\" alt=\"SQL style guide by Simon Holywell\" title=\"SQL_style_guide_by_Simon_Holywell.png\" border=\"0\" width=\"545\" height=\"239\" \/><\/p>\n<p>\u540c\u30ac\u30a4\u30c9\u3067\u306f\u3001\u4f8b\u3048\u3070SQL\u5168\u822c\u306b\u95a2\u3057\u3066\u4ee5\u4e0b\u306e\u898f\u7d04\u3092\u63a8\u5968\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u4e00\u8cab\u3057\u3066\u5206\u304b\u308a\u3084\u3059\u3044\u8b58\u5225\u5b50\u3068\u540d\u524d\u306e\u4f7f\u7528\u3002<\/li>\n<li>\u30b3\u30fc\u30c9\u306e\u53ef\u8aad\u6027\u3092\u9ad8\u3081\u308b\u305f\u3081\u306e\u30b9\u30da\u30fc\u30b9\u3068\u30a4\u30f3\u30c7\u30f3\u30c8\u306e\u9069\u5207\u306a\u4f7f\u7528\u3002<\/li>\n<li>ISO-8601\u6e96\u62e0\u306e\u6642\u9593\u3068\u65e5\u4ed8\u60c5\u5831\u306e\u683c\u7d0d(YYYY-MM-DD HH:MM:SS.SSSSS)\u3002<\/li>\n<li>\u4e92\u63db\u6027\u306e\u305f\u3081\u30d9\u30f3\u30c0\u30fc\u7279\u6709\u306e\u95a2\u6570\u3067\u306f\u306a\u304f\u6a19\u6e96SQL\u3092\u4f7f\u3046\u3088\u3046\u8a66\u307f\u308b\u3002<\/li>\n<li>\u7c21\u6f54\u306a\u30b3\u30fc\u30c9\u3092\u4fdd\u3061\u4e0d\u8981\u306aSQL\u3092\u907f\u3051\u308b\u3002<\/li>\n<li>\u5fc5\u8981\u306a\u5834\u6240\u3067\u306fSQL\u306e\u30b3\u30fc\u30c9\u306b\u30b3\u30e1\u30f3\u30c8\u3092\u8ffd\u8a18\u3059\u308b\u3002<\/li>\n<\/ul>\n<p>\u305d\u306e\u4ed6\u3001\u547d\u540d\u898f\u7d04\u3084\u30af\u30a8\u30ea\u306e\u66f8\u304d\u65b9\u3001\u30c6\u30fc\u30d6\u30eb\u3092\u4f5c\u6210\u3059\u308bCreate\u5206\u306e\u66f8\u304d\u65b9\u307e\u3067\u3001\u5358\u306a\u308b\u898b\u305f\u76ee\u306e\u554f\u984c\u3060\u3051\u306b\u3068\u3069\u307e\u3089\u306a\u3044\u5e45\u5e83\u3044\u5206\u91ce\u3092\u30ab\u30d0\u30fc\u3057\u305f\u3082\u306e\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4f5c\u8005\u306f\u3001\u30ac\u30a4\u30c9\u30e9\u30a4\u30f3\u3092\u305d\u306e\u307e\u307e\u4f7f\u3046\u3060\u3051\u3067\u306a\u304f\u3001\u30aa\u30ea\u30b8\u30ca\u30eb\u3092fork\u3057\u3066\u81ea\u5206\u81ea\u8eab\u306e\u30b9\u30bf\u30a4\u30eb\u30ac\u30a4\u30c9\u3092\u5b9a\u3081\u3066\u4f7f\u3046\u4e8b\u3082\u63d0\u6848\u3057\u3066\u3044\u307e\u3059\u3002\u5927\u5207\u306a\u3053\u3068\u306f\u5b88\u5099\u4e00\u74b0\u3057\u305f\u30b9\u30bf\u30a4\u30eb\u3092\u4fdd\u3061\u7d9a\u3051\u308b\u3053\u3068\u306a\u306e\u3067\u3001\u305d\u306e\u307e\u307e\u4f7f\u7528\u3059\u308b\u306e\u304c\u96e3\u3057\u3044\u5834\u5408\u3001\u4e00\u90e8\u4fee\u6b63\u3057\u3066\u4f7f\u3063\u3066\u307f\u308b\u306e\u3082\u6709\u308a\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>SQL\u3092\u89e6\u308b\u6a5f\u4f1a\u306e\u3042\u308b\u958b\u767a\u8005\u306a\u3089\u3070\u4e00\u898b\u306e\u4fa1\u5024\u304c\u3042\u308b\u30b9\u30bf\u30a4\u30eb\u30ac\u30a4\u30c9\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30ea\u30ec\u30fc\u30b7\u30e7\u30ca\u30eb\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u64cd\u4f5c\u3059\u308b\u305f\u3081\u306e\u8a00\u8a9e\u300cSQL\u300d\u3002\u81ea\u7531\u5ea6\u304c\u9ad8\u304f\u3055\u307e\u3056\u307e\u306a\u66f8\u304d\u65b9\u304c\u8a31\u5bb9\u3055\u308c\u308b\u306e\u3067\u3001\u4ed6\u306e\u4eba\u306e\u66f8\u3044\u305fSQL\u3092\u89e3\u8aad\u3059\u308b\u306e\u304c\u96e3\u3057\u3044\u5834\u5408\u3082\u3042\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002 \u4ed6\u4eba\u306b\u3084\u3055\u3057\u3044\u3001\u5c11\u3057\u3067\u3082\u5206\u304b\u308a\u3084\u3059\u3044SQL\u3092\u66f8\u304f [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":31664,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[75],"tags":[2893],"class_list":["post-31667","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-sql"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/31667","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=31667"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/31667\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/31664"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=31667"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=31667"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=31667"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}