<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>k_isoya</author_name>
  <author_url>https://blog.hatena.ne.jp/k_isoya/</author_url>
  <blog_title>ITANDI Engineer Blog</blog_title>
  <blog_url>https://tech.itandi.co.jp/</blog_url>
  <categories>
  </categories>
  <description>はじめに イタンジ株式会社の磯谷です。不動産賃貸仲介業向けのSaaSであるノマドクラウドの開発をしています。 ノマドクラウドではRailsとMySQLを使用して開発を行っています。その中で、VARCHAR型のカラムに格納されている値の、比較時の末尾の空白の取り扱いについてつまづいたので、今回はその点について書いていこうと思います。 MySQLの環境は以下です。 MySQL 8.0 文字セット utf8mb4 照合順序 utf8mb4_general_ci つまづいたこと あるテーブルについてVARCHAR型のカラムに格納されている値を用いてレコードを検索するという要件がありました。このとき、そ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.itandi.co.jp%2Fentry%2F2024%2F10%2F10%2F190000&quot; title=&quot;MySQLの非バイナリ文字列の比較での末尾の空白について - ITANDI Engineer Blog&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/s/s_takeuchi2/20241010/20241010124002.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-10-10 19:00:00</published>
  <title>MySQLの非バイナリ文字列の比較での末尾の空白について</title>
  <type>rich</type>
  <url>https://tech.itandi.co.jp/entry/2024/10/10/190000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
