{"id":148,"date":"2007-06-09T15:13:55","date_gmt":"2007-06-09T06:13:55","guid":{"rendered":"http:\/\/www.climb.co.jp\/blog_dbmoto\/?p=148"},"modified":"2007-06-09T15:13:55","modified_gmt":"2007-06-09T06:13:55","slug":"identity%e3%82%ab%e3%83%a9%e3%83%a0%e8%a8%ad%e5%ae%9a%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6%e3%80%90%e3%83%aa%e3%82%a2%e3%83%ab%e3%82%bf%e3%82%a4%e3%83%a0%e3%83%ac","status":"publish","type":"post","link":"https:\/\/www.climb.co.jp\/blog_dbmoto\/archives\/148","title":{"rendered":"IDENTITY\u30ab\u30e9\u30e0\u8a2d\u5b9a\u306e\u30a8\u30e9\u30fc\u306b\u3064\u3044\u3066\u3010\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30c4\u30fc\u30ebDBMoto\u3011"},"content":{"rendered":"<p><img decoding=\"async\" src=\"\/\/www.climb.co.jp\/blog_dbmoto\/wp-content\/uploads\/2011\/10\/cf914bd7023098d236b9819b75cab9d5.jpg\"><\/p>\n<p>Q:DBMoto\u306e\u8a2d\u5b9a\u3001PK\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u3001\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c6\u30b9\u30c8\u3092\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u30ad\u30fc\u9805\u76ee\u306bIDENTITY\u3092\u8a2d\u5b9a\u3059\u308b\u3068\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u30c6\u30fc\u30d6\u30eb\u306e\u30c7\u30b6\u30a4\u30f3\u304c\u3053\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u3066\u3001PG\u4e0a\u3067\u3082\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30c8\u3092\u5fc5\u9808\u3068\u3057\u3066\u52d5\u4f5c\u3092\u3057\u3066\u3044\u308b\u70ba\u3001\u8a2d\u5b9a\u3092\u5916\u3059\u3053\u3068\u304c\u3067\u304d\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u5bfe\u51e6\u306e\u65b9\u6cd5\u306f\u3042\u308a\u307e\u3059\u304b\uff1f<\/p>\n<p>A:\u3053\u306e\u30a8\u30e9\u30fc\u306e\u539f\u56e0\u3068\u3057\u3066\u306f\u3001IDENTITY\u30ab\u30e9\u30e0\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u30c6\u30fc\u30d6\u30eb\u306e\u300cIDENTITY_INSERT\u300d\u306fOFF\u306b\u306a\u3063\u3066\u3044\u308b\u305f\u3081\u3001\u30c7\u30fc\u30bf\u30a4\u30f3\u30b5\u30fc\u30c8\u306f\u3046\u307e\u304f\u3067\u304d\u307e\u305b\u3093\u3002SQL Server\u4e0a\u3067\u300cIDENTITY_INSERT\u300d\u3092ON\u306b\u8a2d\u5b9a\u3057\u3066\u3082\u3001DBMoto\u3067\u306e\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30a4\u30f3\u30b5\u30fc\u30c8\u30e2\u30fc\u30c9(Insert Mode)\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u300cSingleInsert\u300d\u306b\u306a\u3063\u3066\u3044\u308b\u305f\u3081\u3001\u300cIDENTITY_INSERT\u300d\u306fOFF\u306b\u623b\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3092\u89e3\u6c7a\u3059\u308b\u306b\u306f\u3001\u8a72\u5f53\u3059\u308b\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3066\u300cReplication Properties\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\u56f3\u306b\u793a\u3059\u3088\u3046\u306b\u300cInsert Mode\u300d\u3092\u300cBulk Insert\u300d\u306b\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Q:DBMoto\u306e\u8a2d\u5b9a\u3001PK\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u3001\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c6\u30b9\u30c8\u3092\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u30ad\u30fc\u9805\u76ee\u306bIDENTITY\u3092\u8a2d\u5b9a\u3059\u308b\u3068\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002 \u30c6\u30fc\u30d6\u30eb\u306e\u30c7\u30b6\u30a4\u30f3\u304c\u3053\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u3066\u3001PG\u4e0a\u3067\u3082\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30c8\u3092 &hellip; <a href=\"https:\/\/www.climb.co.jp\/blog_dbmoto\/archives\/148\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-148","post","type-post","status-publish","format-standard","hentry","category-syniti"],"_links":{"self":[{"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/posts\/148","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/comments?post=148"}],"version-history":[{"count":0,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/posts\/148\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/media?parent=148"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/categories?post=148"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/tags?post=148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}