<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hit10231023</author_name>
  <author_url>https://blog.hatena.ne.jp/hit10231023/</author_url>
  <blog_title>Database JUNKY</blog_title>
  <blog_url>https://hit.hateblo.jp/</blog_url>
  <categories>
    <anon>mysql</anon>
    <anon>bash</anon>
    <anon>変数</anon>
    <anon>直接変数</anon>
    <anon>シェル</anon>
    <anon>shell</anon>
  </categories>
  <description>色々な書き方がありますが、私は以下のように書いてます。というほど書いてないので、必要な時にすっかり忘れるのが現実ですが。。 例えばこんなケースで書いてみます。 とあるテーブルの検索結果が0（ゼロ）件以外だったら、後続の処理を実行する</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhit.hateblo.jp%2Fentry%2Fmysql%2Fshell%2Fvariables&quot; title=&quot;MySQL SQLの検索結果をshellの変数に格納する方法 - Database JUNKY&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/h/hit10231023/20180309/20180309104332.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-11-02 13:29:18</published>
  <title>MySQL SQLの検索結果をshellの変数に格納する方法</title>
  <type>rich</type>
  <url>https://hit.hateblo.jp/entry/mysql/shell/variables</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
