{"id":182,"date":"2011-02-11T21:25:03","date_gmt":"2011-02-11T13:25:03","guid":{"rendered":"http:\/\/www.youthtribe.com\/?p=182"},"modified":"2011-02-11T22:08:37","modified_gmt":"2011-02-11T14:08:37","slug":"dede%e7%94%a8sql%e8%af%ad%e5%8f%a5-%e6%89%b9%e9%87%8f%e5%88%a0%e9%99%a4%e6%96%87%e7%ab%a0%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"http:\/\/www.youthtribe.com\/archives\/182","title":{"rendered":"DEDE\u7528SQL\u8bed\u53e5 \u6279\u91cf\u5220\u9664\u6587\u7ae0\u65b9\u6cd5"},"content":{"rendered":"
DEDE\u4f7f\u7528SQL\u6279\u91cf\u5220\u9664aid\u6587\u7ae0\uff0c\u6709\u65f6\u5019\u6279\u91cf\u91c7\u96c6\u7684\u6587\u7ae0\u5f88\u4e0d\u6ee1\u610f\u60f3\u90fd\u5220\u9664\u4e0d\u8981\u4e86\uff0c\u4f46\u662f\u5728\u540e\u53f0\u4e00\u4e2a\u4e2a\u7684\u5220\u9664\u6587\u7ae0\u7684\u8bdd\u5b9e\u5728\u592a\u6162\u4e86\u6240\u4ee5\u627e\u4e86\u4e2a\u6279\u91cf\u5220\u9664\u6587\u7ae0\u7684SQL\u8bed\u53e5\u5f88\u597d\u4f7f\uff0c\u5207\u8bb0\u4f7f\u7528\u524d\u8bb0\u5f97\u5907\u4efd\u4e0b\u6570\u636e\u5e93\u4ee5\u9632\u4e07\u4e00\u51fa\u95ee\u9898\u6280\u672f\u6062\u590d\u6570\u636e\u5e93\u3002 <\/p>\n
DELETE FROM dede_addonarticle WHERE aid >= 3000 and aid<=5000;\nDELETE FROM dede_arctiny WHERE id >= 3000 and id<=5000;\nDELETE FROM dede_archives WHERE id >= 3000 and id<=5000; \n\n\u4ee5\u4e0a\u7684\u4e00\u53e5\u610f\u601d\u662f\u4eceaid3000-aid5000 \u6279\u91cfDEL \uff0c\u6587\u7ae0ID\u5728\u6bcf\u4e2a\u6587\u7ae0\u524d\u9762\u90fd\u6709\u3002\n\n<\/p>\n","protected":false},"excerpt":{"rendered":"
DEDE\u4f7f\u7528SQL\u6279\u91cf\u5220\u9664aid\u6587\u7ae0\uff0c\u6709\u65f6\u5019\u6279\u91cf\u91c7\u96c6\u7684\u6587\u7ae0\u5f88\u4e0d\u6ee1\u610f\u60f3\u90fd\u5220\u9664\u4e0d\u8981\u4e86\uff0c\u4f46\u662f\u5728\u540e\u53f0\u4e00\u4e2a\u4e2a\u7684\u5220\u9664\u6587\u7ae0\u7684\u8bdd\u5b9e\u5728\u592a\u6162\u4e86\u6240\u4ee5\u627e\u4e86\u4e2a\u6279\u91cf\u5220\u9664\u6587\u7ae0\u7684SQL\u8bed\u53e5\u5f88\u597d\u4f7f\uff0c\u5207\u8bb0\u4f7f\u7528\u524d\u8bb0\u5f97\u5907\u4efd\u4e0b\u6570\u636e\u5e93\u4ee5\u9632\u4e07\u4e00\u51fa\u95ee\u9898\u6280\u672f\u6062\u590d\u6570\u636e\u5e93\u3002 DELETE FROM dede_addonarticle WHERE aid >= 3000 an<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1,9],"tags":[24],"_links":{"self":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/182"}],"collection":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/comments?post=182"}],"version-history":[{"count":3,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/182\/revisions"}],"predecessor-version":[{"id":190,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/182\/revisions\/190"}],"wp:attachment":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/media?parent=182"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/categories?post=182"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/tags?post=182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}