{"id":353,"date":"2013-12-15T13:30:55","date_gmt":"2013-12-15T04:30:55","guid":{"rendered":"https:\/\/www.xenos.jp\/~zen\/blog2\/?p=353"},"modified":"2018-01-23T13:32:00","modified_gmt":"2018-01-23T04:32:00","slug":"post-353","status":"publish","type":"post","link":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/2013\/12\/15\/post-353\/","title":{"rendered":"SQL Server 2005\u4ee5\u964d\u3067\u3001\u73fe\u5728\u6642\u523b\u3092\u53d6\u5f97\u3059\u308b\u95a2\u6570"},"content":{"rendered":"<p>SQL Server 2005\uff08Transact SQL\uff09\u3067\u73fe\u5728\u306e\u6642\u523b\u306f\u3001GETDATE() \u95a2\u6570\u3067\u53d6\u5f97\u3067\u304d\u308b\u3002<br \/>\nSELECT\u6587\u3067\u4f7f\u3048\u3070\u3001\u73fe\u5728\u6642\u523b\u3092\u53d6\u5f97\u3067\u304d\u308b\u3002<br \/>\nUPDATE\u6587\u3084INSERT\u6587\u3067\u4f7f\u3048\u3070\u3001SQL Server\u306e\u73fe\u5728\u6642\u523b\u3092\u4f7f\u3063\u3066\u3001\u66f4\u65b0\u65e5\u3092\u66f4\u65b0\u3067\u304d\u308b\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u73fe\u5728\u306e\u6642\u523b\u3092\u53d6\u5f97\u3059\u308b\u3060\u3051\u306eSELECT\u6587<\/p>\n<pre>\r\nSELECT GETDATE() AS TIME\r\n<\/pre>\n<p>\u4f8b\u3048\u3070\u3001\u66f4\u65b0\u65e5\uff08UpdateDate\uff09\u3092\u73fe\u5728\u6642\u523b\u3067\u66f4\u65b0\u3059\u308bUPDATE\u6587<\/p>\n<pre>\r\nUPDATE Employee SET UpdateDate = GETDATE()\r\n<\/pre>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>SQL Server 2005\uff08Transact SQL\uff09\u3067\u73fe\u5728\u306e\u6642\u523b\u306f\u3001GETDATE() \u95a2\u6570\u3067\u53d6\u5f97\u3067\u304d\u308b\u3002 SELECT\u6587\u3067\u4f7f\u3048\u3070\u3001\u73fe\u5728\u6642\u523b\u3092\u53d6\u5f97\u3067\u304d\u308b\u3002 UPDATE\u6587\u3084INSERT\u6587\u3067\u4f7f\u3048\u3070\u3001SQL Serve [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,7],"tags":[69],"class_list":["post-353","post","type-post","status-publish","format-standard","hentry","category-windows","category-tech-memo","tag-sql-server"],"_links":{"self":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/353","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/comments?post=353"}],"version-history":[{"count":1,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/353\/revisions"}],"predecessor-version":[{"id":354,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/353\/revisions\/354"}],"wp:attachment":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/media?parent=353"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/categories?post=353"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/tags?post=353"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}