<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gontora</author_name>
  <author_url>https://blog.hatena.ne.jp/gontora/</author_url>
  <blog_title>MEMO REC</blog_title>
  <blog_url>https://gontora.hatenadiary.com/</blog_url>
  <categories>
    <anon>プログラミング-MySql</anon>
  </categories>
  <description>mysqlのデータで既に登録されているデータを一括置換する方法をメモしておきます。 構文 例文 構文 UPDATE と REPLACE()の組み合わせにより一括置換が可能になります。 UPDATE テーブル名 SET カラム名 = REPLACE(カラム名,置換前文字列,置換後文字列) ; 例文 ・userテーブル（一括置換前） mysql&gt; select * from user; +----+---------+ | id | user_id | +----+---------+ | 1 | hoge1 | | 2 | hoge2 | | 3 | hoge3 | | 4 | hoge4 | …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgontora.hatenadiary.com%2Fentry%2F2018%2F09%2F03%2F162119&quot; title=&quot;【MySQL】登録されているデータを一括置換(更新)する方法 - MEMO REC&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>2018-09-03 16:21:19</published>
  <title>【MySQL】登録されているデータを一括置換(更新)する方法</title>
  <type>rich</type>
  <url>https://gontora.hatenadiary.com/entry/2018/09/03/162119</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
