什么是Oracle Key-Preserved Table和什么样的视图可以进行DML操作

2014-11-24 18:59:09 · 作者: · 浏览: 14

It is sufficient that if the key or keys were selected, then they would also be key(s) of the result of the join.


如果某一个表的主键可以作为这个join结果(view通常是几个表的join结果)的主键,那么这个表就是key preserved table.


这个表的主键并非一定要出现在select出来的结果集中(select list里面),但是如果其出现在结果集中,那么它必须可以满足作为这个结果集的主键的要求.