---
title: "用plsql 删除一个表中的记录，慢或不能删除。"
author: "cuixuelei"
date: "2010-01-15T13:31:37Z"
tags: []
categories: ["数据库"]
slug: "plsql"
draft: false
lastmod: "2010-01-15T13:31:37Z"
id: 571012
url: "https://cuixuelei.iteye.com/blog/571012"
---

A表主键 在B表中做外键。有这中情况： b表没有记录了，但A表删除记录很慢，这种情况下，请把B表的外键关联去掉。在删A表记录，就ok了。