Oracle基礎學習筆記(四)(VIEW)

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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章