mysql学习记录(一)
来源:互联网 发布:python核心编程第3版 编辑:程序博客网 时间:2024/04/27 21:02
使用mysqlworkbench数据库建模生成的数据库,其中外键显示:
**ON DELETE NO ACTION
ON UPDATE NO ACTION**
Oracle allows three different definitions under the definition of the foreign key:
ON DELETE CASCADE (when a referenced parent table row is removed all the child are removed automatically)The ON DELETE SET NULL action allows data that references the parent key to be deleted, but not updated. When referenced data in the parent key is deleted, all rows in the child table that depend on those parent key values have their foreign keys set to null.ON DELETE NO ACTION (which is the default) prevents deleting a parent when there are children (would be nice arrangement for real life)
0 0
- mysql学习记录(一)
- mysql学习记录 一
- MySQL 学习记录(一)
- mysql记录(一)
- MySQL学习记录(简介+语法+演示分析)一
- 学习记录(一)
- 学习记录(一)
- 学习记录(一)
- mysql学习记录(二)
- AcegiSecurity学习记录(一)
- DB2学习记录(一)
- DB2学习记录(一)
- delphi学习记录(一)
- gdb学习记录(一)
- BroadCastReceiver 学习记录(一)
- JS学习记录(一)
- Android学习记录(一)
- perl学习记录(一)
- python建立数据库
- CodeForces 698 A. Vacations(dp)
- 原生js的一些研究和总结(1)
- Vijos 1144 小胖守皇宫 [树形dp]
- 负载均衡
- mysql学习记录(一)
- 译文:Java中的弱引用
- get Nth fib
- 数据拷贝整理
- centos下 Apache、php、mysql默认安装路径
- LDAP学习资料整理
- hd 2010 Ice_cream's world I
- netsh interface portproxy的一个简单例子
- 欧拉函数