{"id":53,"date":"2023-11-29T10:44:36","date_gmt":"2023-11-29T02:44:36","guid":{"rendered":"http:\/\/www.ooboou.com\/?p=53"},"modified":"2023-11-29T10:44:36","modified_gmt":"2023-11-29T02:44:36","slug":"oracle%e5%a4%9a%e8%a1%a8%e5%85%b3%e8%81%94%e6%9b%b4%e6%96%b0%e8%af%ad%e5%8f%a5","status":"publish","type":"post","link":"http:\/\/www.ooboou.com\/?p=53","title":{"rendered":"oracle\u591a\u8868\u5173\u8054\u66f4\u65b0\u8bed\u53e5"},"content":{"rendered":"\n<p><code>UPDATE zx_sell_shenji_temp a<br>SET a.goodsid = (select b.newgoodsid<br>from rtacc.NANCHANGYIBAO_DUIMAGENGZHENG b<br>where a.goodsid = b.oldgoodsid)<br>WHERE EXISTS (SELECT 1<br>FROM rtacc.NANCHANGYIBAO_DUIMAGENGZHENG b<br>WHERE a.goodsid = b.oldgoodsid);<\/code><\/p>\n\n\n\n<p><code>UPDATE zx_sell_shenji_temp a<br>SET (a.currencyname, a.goodsname, a.goodstype, a.factoryname, a.prodarea, a.supplytaxrate, a.salestaxrate) = (select c.currencyname,<br>c.goodsname,<br>c.goodstype,<br>c.factoryname,<br>c.prodarea,<br>c.supplytaxrate,<br>c.salestaxrate<br>from pub_goods_v c<br>where a.goodsid =<br>c.goodsid<br>and a.goodsid in<br>(select newgoodsid<br>from rtacc.NANCHANGYIBAO_DUIMAGENGZHENG))<br>WHERE EXISTS<br>(SELECT 1<br>FROM pub_goods_v c<br>WHERE a.goodsid = c.goodsid<br>and a.goodsid in<br>(select newgoodsid from rtacc.NANCHANGYIBAO_DUIMAGENGZHENG))<br>and a.goodsname is null<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>UPDATE zx_sell_shenji_temp aSET a.goodsid = (select b.n &#8230; <a title=\"oracle\u591a\u8868\u5173\u8054\u66f4\u65b0\u8bed\u53e5\" class=\"read-more\" href=\"http:\/\/www.ooboou.com\/?p=53\" aria-label=\"\u9605\u8bfb oracle\u591a\u8868\u5173\u8054\u66f4\u65b0\u8bed\u53e5\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[7,8,9],"class_list":["post-53","post","type-post","status-publish","format-standard","hentry","category-oracle","tag-it","tag-oracle","tag-sql"],"_links":{"self":[{"href":"http:\/\/www.ooboou.com\/index.php?rest_route=\/wp\/v2\/posts\/53","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.ooboou.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.ooboou.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.ooboou.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.ooboou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=53"}],"version-history":[{"count":1,"href":"http:\/\/www.ooboou.com\/index.php?rest_route=\/wp\/v2\/posts\/53\/revisions"}],"predecessor-version":[{"id":54,"href":"http:\/\/www.ooboou.com\/index.php?rest_route=\/wp\/v2\/posts\/53\/revisions\/54"}],"wp:attachment":[{"href":"http:\/\/www.ooboou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=53"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.ooboou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=53"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.ooboou.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=53"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}