<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xmldtp</author_name>
  <author_url>https://blog.hatena.ne.jp/xmldtp/</author_url>
  <blog_title>ウィリアムのいたずらの、まちあるき、たべあるきーPART2</blog_title>
  <blog_url>https://xmldtp.hatenadiary.org/</blog_url>
  <categories>
    <anon>Weblog</anon>
  </categories>
  <description>「マイナンバーのテーブルでの持ち方がわからない。 合法的にはどう持てば、削除しても大丈夫なのか？」 と聞かれたので、こんな風に答えました。 ■マイナンバーは原則別テーブル、他テーブルでは主キーにできない マイナンバーは、目的外には使えません。 ということは、従業員マスターの主キーなどにしてしまうと（一意で便利なんだけど・・・） 従業員マスターを税務・年金以外の他の目的（人事評価や飲み会の参加者名簿など）に使うことが出来ません。 ということは、マイナンバーは原則別テーブルで持ち、必要時にJOINすることになります。 ■外部キーにする場合JOIN注意 ということは、実際にJOINする場合 従業員マ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxmldtp.hatenadiary.org%2Fentry%2F9159de725f94a3fa4968aadfbe79bd24&quot; title=&quot;マイナンバーは原則別テーブル、他テーブルでは主キーにできず、JOIN注意 - ウィリアムのいたずらの、まちあるき、たべあるきーPART2&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/x/xmldtp/20250814/20250814121903.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-06-30 09:38:22</published>
  <title>マイナンバーは原則別テーブル、他テーブルでは主キーにできず、JOIN注意</title>
  <type>rich</type>
  <url>https://xmldtp.hatenadiary.org/entry/9159de725f94a3fa4968aadfbe79bd24</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
