<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mftech</author_name>
  <author_url>https://blog.hatena.ne.jp/mftech/</author_url>
  <blog_title>テクヤン - マインドフリー .NET カフェ</blog_title>
  <blog_url>https://mftech.hatenadiary.org/</blog_url>
  <categories>
    <anon>chujianglei</anon>
    <anon>SQL</anon>
  </categories>
  <description>こんにちは、chujiangleiです。 今回は、Microsoft SQL Serverでの日付計算をご紹介いたします。実際の作業では、日付に関数する計算がよくあります。 初心者にはストアドプロシージャ上で日付の計算について分からないとか、慣れてない方がいると思います。 ここで、ストアドプロシージャ上で日付の求め方を纏めて見ました。皆さんにお役に立てれば幸いです。 /* 指定日についての計算 */ DECLARE @Date DATETIME SET @Date=GETDATE() -- 指定日の前日を求める SELECT DATEADD(DAY,-1,@Date) AS '前日' -- 指…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmftech.hatenadiary.org%2Fentry%2F20100818%2F1282122704&quot; title=&quot;Microsoft  SQL Server 日付計算について - テクヤン - マインドフリー .NET カフェ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/m/mftech/20100823/20100823105102.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-08-18 18:11:44</published>
  <title>Microsoft  SQL Server 日付計算について</title>
  <type>rich</type>
  <url>https://mftech.hatenadiary.org/entry/20100818/1282122704</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
