<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>pospome</author_name>
  <author_url>https://blog.hatena.ne.jp/pospome/</author_url>
  <blog_title>pospomeのプログラミング日記</blog_title>
  <blog_url>https://www.pospome.work/</blog_url>
  <categories>
    <anon>MySQL</anon>
  </categories>
  <description>ランダムな整数データが大量に欲しかったので作ってみる。 今回はストアドプロシージャを使う。 1.テーブル定義 これはテキトーに作ればいい。 create table t1 (id int, score int); 2.ランダムデータを生成するINSERT文を用意 テキトーに作ればいいが、バルクインサートの方が速い。 これは手順3のストアドプロシージャで使う。 insert into t1 values (FLOOR(RAND() * 100000), FLOOR(RAND() * 100000)), (FLOOR(RAND() * 100000), FLOOR(RAND() * 100000)…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.pospome.work%2Fentry%2F20140624%2F1403614190&quot; title=&quot;【MySQL】大量のランダム整数データを生成する - pospomeのプログラミング日記&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>2014-06-24 21:49:50</published>
  <title>【MySQL】大量のランダム整数データを生成する</title>
  <type>rich</type>
  <url>https://www.pospome.work/entry/20140624/1403614190</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
