<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shigemk2</author_name>
  <author_url>https://blog.hatena.ne.jp/shigemk2/</author_url>
  <blog_title>by shigemk2</blog_title>
  <blog_url>https://www.shigemk2.com/</blog_url>
  <categories>
    <anon>snowflake</anon>
  </categories>
  <description>Datetime(Timestamp)も一緒で 0000-00-00 00:00:00 はnot recognizedエラーになる。 DATE と TIMESTAMP のデータの場合、Snowflakeは、1582と9999の間の年を使用することをお勧めします。Snowflakeは、この範囲外の数年を受け入れますが、 グレゴリオ暦の制限 のため、1582より前の年は避ける必要があります。 というか、1582-9999の間じゃないとエラーになるので、1582より前の年は全部NGです docs.snowflake.com ので、こんな感じでNULL_IFを使ってinvalidなdateやtimes…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F2023%2F10%2F11%2F202314&quot; title=&quot;Error: Date &amp;#39;0000-00-00&amp;#39; is not recognized - by shigemk2&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-10-11 20:23:14</published>
  <title>Error: Date '0000-00-00' is not recognized</title>
  <type>rich</type>
  <url>https://www.shigemk2.com/entry/2023/10/11/202314</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
