<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yamadaken1</author_name>
  <author_url>https://blog.hatena.ne.jp/yamadaken1/</author_url>
  <blog_title>山田健一のブログ</blog_title>
  <blog_url>https://yamadaken1.hatenablog.com/</blog_url>
  <categories>
    <anon>【IT・ソフト関連】PostgreSQL</anon>
  </categories>
  <description>yamadaken1.hatenablog.com 上記の記事の関連です。 世の中にはストアドが嫌いな人もいるので。。。JsonからテーブルにINSERTする話です。 テストデータは前回と同じです。 こんなテーブルを用意します。 CREATE TABLE test ( item_code character varying ,product_name character varying ,req_qty numeric ) ; テスト用なので、主キーもない手抜きのテーブルです。このテーブルがあれば、次のSQLでJSON配列から一気にレコードINSERTが出来ます。 INSERT INTO te…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyamadaken1.hatenablog.com%2Fentry%2F2017%2F12%2F08%2F204934&quot; title=&quot;JsonからテーブルにINSERT - 山田健一のブログ&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/y/yamadaken1/20171208/20171208204857.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-12-08 20:49:34</published>
  <title>JsonからテーブルにINSERT</title>
  <type>rich</type>
  <url>https://yamadaken1.hatenablog.com/entry/2017/12/08/204934</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
