+ -
当前位置:首页 → 问答吧 → Oracle中创建视图

Oracle中创建视图

时间:2011-09-29

来源:互联网

在Oracle中创建视图,一般的都可以
但是,如果没有表时,原则上不是也可以创建视图吗?
为什么,创建不成呢?
速求结果.......

作者: m540920181   发布时间: 2011-09-29

再说详细点吧。

作者: Baobeiaini97527   发布时间: 2011-09-30

create or replace force view ...

FORCE 

Specify FORCE if you want to create the view regardless of whether the base tables of the view or the referenced object types exist or the owner of the schema containing the view has privileges on them. These conditions must be true before any SELECT, INSERT, UPDATE, or DELETE statements can be issued against the view.

作者: fzqrf   发布时间: 2011-09-30

视图可以说是表的一个映射吧?你连表都没有,那么视图的数据哪里来?

作者: jimmylin040   发布时间: 2011-09-30


楼主可以先弄清楚视图的定义。

作者: tianlesoftware   发布时间: 2011-09-30