<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mr_star</author_name>
  <author_url>https://blog.hatena.ne.jp/mr_star/</author_url>
  <blog_title>ITエンジニアの成長ブログ</blog_title>
  <blog_url>https://mr-star.hatenablog.com/</blog_url>
  <categories>
    <anon>SQL Server</anon>
  </categories>
  <description>SQL Serverのdatetime型を使うときに気を付けるべきことを紹介します。datetime型は、値の精度について知っておかないといけないことがあります。 たとえば、以下のようなクエリを作成して実行するとその結果に驚く方がいるかもしれません。 datetime型の挙動確認クエリ実行結果は以下の通りです。分かりやすいように整形してます。 入力リテラル datetime型格納値 2021-10-07 12:35:29.120 2021-10-07 12:35:29.120 2021-10-07 12:35:29.121 2021-10-07 12:35:29.120 2021-10-07 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmr-star.hatenablog.com%2Fentry%2Fsqlserver_datetime_type&quot; title=&quot;SQL Serverのdatetime型に気を付ける - ITエンジニアの成長ブログ&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/mr_star/20211007/20211007182659.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-10-07 18:49:10</published>
  <title>SQL Serverのdatetime型に気を付ける</title>
  <type>rich</type>
  <url>https://mr-star.hatenablog.com/entry/sqlserver_datetime_type</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
