Oracle基础学习笔记(四)(VIEW)

来源:互联网 发布:wp8怎么下载软件 编辑:程序博客网 时间:2024/05/22 20:16

CREATE [OR REPLACE] VIEW [{FORCE | NOFORCE}] view_name

AS subquery

[WITH {CHECK OPTION | READ ONLY} CONSTRAINT cons_name];

 

FORCE -- the view can be created even the base tables doesn't exist.

WITH CHECK OPTION -- only rows can be retrieved by the subquery can be inserted, updated or deleted

原创粉丝点击