{"id":15549,"date":"2023-12-04T20:38:55","date_gmt":"2023-12-04T12:38:55","guid":{"rendered":"https:\/\/wx.kaifamiao.info\/?p=15549"},"modified":"2023-12-04T20:39:32","modified_gmt":"2023-12-04T12:39:32","slug":"oracle-zhong-ru-he-zai-bu-ying-xiang-zi-biao-de-qi","status":"publish","type":"post","link":"http:\/\/wx.kaifamiao.info\/index.php\/2023\/12\/04\/oracle-zhong-ru-he-zai-bu-ying-xiang-zi-biao-de-qi\/","title":{"rendered":"Oracle \u4e2d\u5982\u4f55\u5728\u4e0d\u5f71\u54cd\u5b50\u8868\u7684\u524d\u63d0\u4e0b\uff0c\u91cd\u5efa\u4e00\u4e2a\u6bcd\u8868\uff1f"},"content":{"rendered":"<p>\u5728 Oracle \u4e2d\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u6765\u91cd\u5efa\u4e00\u4e2a\u6bcd\u8868\u800c\u4e0d\u5f71\u54cd\u5b50\u8868\uff1a<\/p>\n<ol>\n<li><strong>\u5907\u4efd\u6570\u636e<\/strong>\uff1a\u9996\u5148\uff0c\u786e\u4fdd\u5907\u4efd\u4e86\u6bcd\u8868\u7684\u6570\u636e\u4ee5\u9632\u610f\u5916\u60c5\u51b5\u53d1\u751f\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u7981\u7528\u5916\u952e\u7ea6\u675f<\/strong>\uff1a\u5728\u5f00\u59cb\u91cd\u5efa\u6bcd\u8868\u4e4b\u524d\uff0c\u7981\u7528\u4e0e\u5b50\u8868\u76f8\u5173\u7684\u5916\u952e\u7ea6\u675f\u3002\u8fd9\u6837\u53ef\u4ee5\u9632\u6b62\u5b50\u8868\u4e0e\u6bcd\u8868\u7684\u5173\u8054\u5173\u7cfb\u53d7\u5230\u5f71\u54cd\u3002<\/p>\n<pre><code class=\"language-sql  line-numbers\">ALTER TABLE child_table_name\nDISABLE CONSTRAINT constraint_name;\n<\/code><\/pre>\n<\/li>\n<li><strong>\u91cd\u5efa\u6bcd\u8868<\/strong>\uff1a\u5220\u9664\u6bcd\u8868\u5e76\u91cd\u65b0\u521b\u5efa\u5b83\u3002\u8bf7\u6ce8\u610f\uff0c\u8fd9\u5c06\u5220\u9664\u6bcd\u8868\u53ca\u5176\u6570\u636e\uff0c\u6240\u4ee5\u786e\u4fdd\u63d0\u524d\u5907\u4efd\u4e86\u6bcd\u8868\u6570\u636e\u3002\n<pre><code class=\"language-sql  line-numbers\">DROP TABLE parent_table_name;\nCREATE TABLE parent_table_name (\n    -- \u5b9a\u4e49\u8868\u7ed3\u6784\n);\n<\/code><\/pre>\n<\/li>\n<li><strong>\u91cd\u65b0\u542f\u7528\u5916\u952e\u7ea6\u675f<\/strong>\uff1a\u91cd\u5efa\u6bcd\u8868\u540e\uff0c\u91cd\u65b0\u542f\u7528\u4e0e\u5b50\u8868\u76f8\u5173\u7684\u5916\u952e\u7ea6\u675f\u3002\n<pre><code class=\"language-sql  line-numbers\">ALTER TABLE child_table_name\nENABLE CONSTRAINT constraint_name;\n<\/code><\/pre>\n<\/li>\n<\/ol>\n<p>\u901a\u8fc7\u8fd9\u4e9b\u6b65\u9aa4\uff0c\u4f60\u53ef\u4ee5\u91cd\u65b0\u6784\u5efa\u6bcd\u8868\u800c\u4e0d\u4f1a\u5f71\u54cd\u5b50\u8868\u7684\u6570\u636e\u548c\u5916\u952e\u7ea6\u675f\u3002\u8bf7\u8c28\u614e\u64cd\u4f5c\uff0c\u5e76\u786e\u4fdd\u5728\u64cd\u4f5c\u4e4b\u524d\u5907\u4efd\u6570\u636e\u4ee5\u9632\u4e07\u4e00\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728 Oracle \u4e2d\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u6765\u91cd\u5efa\u4e00\u4e2a\u6bcd\u8868\u800c\u4e0d\u5f71\u54cd\u5b50\u8868\uff1a \u5907\u4efd\u6570\u636e\uff1a\u9996\u5148\uff0c\u786e\u4fdd\u5907\u4efd\u4e86\u6bcd\u8868\u7684\u6570\u636e\u4ee5\u9632 [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[120],"tags":[],"class_list":["post-15549","post","type-post","status-publish","format-standard","hentry","category-oracel"],"_links":{"self":[{"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/posts\/15549","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/comments?post=15549"}],"version-history":[{"count":1,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/posts\/15549\/revisions"}],"predecessor-version":[{"id":15550,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/posts\/15549\/revisions\/15550"}],"wp:attachment":[{"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/media?parent=15549"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/categories?post=15549"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/tags?post=15549"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}