{"url":"https://yohei-a.hatenablog.jp/entry/20100620/1277030096","title":"MERGE\u6587\u4f7f\u3063\u3066\u3044\u308b\u306e\u306b ORA-00001 \u767a\u751f","image_url":null,"provider_url":"https://hatena.blog","width":"100%","type":"rich","version":"1.0","blog_title":"ablog","provider_name":"Hatena Blog","author_name":"yohei-a","height":"190","author_url":"https://blog.hatena.ne.jp/yohei-a/","description":"MERGE \u6587\u4f7f\u3063\u3066\u308b\u306e\u306b ORA-00001 \u304c\u767a\u751f\u3059\u308b\uff1e\uff1c java.sql.SQLException: ORA-00001: unique constraint (SCOTT.EMP_UK) violatedid:niwanos \u306e SelectInsert\u3059\u308b\u3068\u304d\u306bInsert\u5148\u306e\u30c6\u30fc\u30d6\u30eb\u306bPK\u3001UK\u3001FK\u3001NOTNULL\u5236\u7d04\u306a\u3069\u304c\u5f35\u3063\u3066\u3042\u3063\u3066 Insert\u306b\u5931\u6557\u3059\u308b\u3068\u7d50\u69cb\u30b9\u30c8\u30ec\u30b9\u304c\u305f\u307e\u308a\u307e\u3059\u3002 \u305d\u3082\u305d\u3082\u3069\u306e\u30ec\u30b3\u30fc\u30c9\u3067\u5931\u6557\u3057\u305f\u306e\u304b\u308f\u304b\u3089\u306a\u304b\u3063\u305f\u308a\u3059\u308b\u3068 NotNull\u3060\u3063\u305f\u3089Select\u306eWhere\u306bIS NOT NULL\u304b\u3044\u3066\u63a2\u3057\u305f\u308a UK\u3060\u3063\u305f\u3089 GROUP HAVING \u66f8\u3044\u3066\u63a2\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohei-a.hatenablog.jp%2Fentry%2F20100620%2F1277030096\" title=\"MERGE\u6587\u4f7f\u3063\u3066\u3044\u308b\u306e\u306b ORA-00001 \u767a\u751f - ablog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2010-06-20 19:34:56","categories":["Oracle"],"blog_url":"https://yohei-a.hatenablog.jp/"}