<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>no14141</author_name>
  <author_url>https://blog.hatena.ne.jp/no14141/</author_url>
  <blog_title>タイガー！タイガー！じれったいぞー！（SE編）</blog_title>
  <blog_url>https://tigertaizo.hatenablog.com/</blog_url>
  <categories>
    <anon>DB2/400</anon>
    <anon>SQL</anon>
  </categories>
  <description>DB2では、テーブル内の各レコードを識別する論理的な行番号「相対レコード番号（RRN: Relative Record Number）」を持っています。 その番号を調査するSQLを備忘録としてアップしておきます。 SELECT RRN(TABLE_NAME) AS RRN, KEY1 FROM LIB_NAME.TABLE_NAME WHERE KEY1 = '0012345' -- RRN KEY -- 247,855 0012345 -- 247,856 0012346 -- 247,857 0012347 このRRNがわかることで、直接メンバーの中身を確認できたりします。 // 物理ファ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftigertaizo.hatenablog.com%2Fentry%2F2024%2F10%2F31%2F200000&quot; title=&quot;【DB2 for i】相対レコード番号（RRN）を確認する - タイガー！タイガー！じれったいぞー！（SE編）&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>2024-10-31 20:00:00</published>
  <title>【DB2 for i】相対レコード番号（RRN）を確認する</title>
  <type>rich</type>
  <url>https://tigertaizo.hatenablog.com/entry/2024/10/31/200000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
