<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chamotarooo</author_name>
  <author_url>https://blog.hatena.ne.jp/chamotarooo/</author_url>
  <blog_title>chamotaroooのブログ</blog_title>
  <blog_url>https://chamotaro.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>NULLは「ゼロ」でも「空文字列」でも「FALSE」でもない。NULLは「不明」だ。 ― Bill Karwin（『SQLアンチパターン』著者） はじめに NULLが嫌いな開発者は多い。assigned_to = NULL が動かない、count() の挙動が予想外、文字列連結で全部NULLになる。その経験からNULLを -1 や 'N/A' で置き換える設計を選ぶことがある。 本書14章「フィア・オブ・ジ・アンノウン（恐怖のunknown）」は、この判断を逆効果と指摘する。NULLから逃げると、代わりに特殊値の管理という複雑さを引き受けることになる。 NULLの本質を理解すれば、逃げる必要は…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchamotaro.hatenablog.com%2Fentry%2F2026%2F03%2F30%2F101723&quot; title=&quot;フィア・オブ・ジ・アンノウン──NULLから逃げるな【SQLアンチパターン 14章】 - chamotaroooのブログ&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://m.media-amazon.com/images/I/41DyQOCNuCL._SL500_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-03-30 10:17:23</published>
  <title>フィア・オブ・ジ・アンノウン──NULLから逃げるな【SQLアンチパターン 14章】</title>
  <type>rich</type>
  <url>https://chamotaro.hatenablog.com/entry/2026/03/30/101723</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
