oracle 视图
来源:互联网 发布:手机淘宝流量钱包 编辑:程序博客网 时间:2024/06/07 07:23
视图与表的区别
1.表需要占用磁盘空间,视图不需要
2.视图不能添加索引
3.使用视图可以简化 复杂查询
4.视图利于提高安全性
创建视图
create view 视图名 as select 语句 [with read only]
创建或修改视图
create or replace view 视图名 as select语句 [with read only]
删除视图
drop view 视图名
create view myview as select * from emp where sal<2000;
create view myview2 as select emp.empno,emp.ename,dept.dname from emp,dept where emp.deptno=dept.deptno;
- oracle视图
- oracle视图
- Oracle视图
- Oracle视图
- Oracle视图
- Oracle视图
- oracle视图
- Oracle 视图
- oracle 视图
- oracle视图
- oracle视图
- oracle 视图
- oracle 视图
- Oracle视图
- Oracle视图
- oracle 视图
- oracle视图
- oracle 视图
- Web面试题2
- 应用一个类轻松实现UITabBar and UINavigationController的界面跳转
- oracle 自定义例外
- Web面试题3
- Qt学习笔记(十一)网络
- oracle 视图
- Android常用控件之HorizontalScrollView代替Gallery
- ViewPager+Fragment基本使用方法(附源码)
- Lua手册
- 程序员必知的8大排序(三)-------冒泡排序,快速排序(java实现) .
- 三大框架的原理
- UVa 10577 - Bounding box
- WinForm中关于DataGridView控件的一些应用
- hdu4193 hoj3107