如何删除数据库中的数据子表和父表 [英] how to delete data child tables and parent tables in database
本文介绍了如何删除数据库中的数据子表和父表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,
如何删除数据子表和父表,而又不删除它们之间的关系.
有可能...吗?
在此先感谢
Hello,
how can i delete data child and parent tables with out delete their relationship.
is it possible...?
thanks in advance
推荐答案
您不能删除表并保留关系,如果要保留关系,则需要保留表并仅删除内容!
级联删除 [
You can''t delete tables and keep the relationship if you want to keep the relationship you need to keep the tables and just delete the content!
Cascading Delete[^]
当然没有,如果删除表,则没有表之间存在关系.
No ofcourse not, if you delete the tables then there are no tables to have a relationship between.
这篇关于如何删除数据库中的数据子表和父表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文