码迷,mamicode.com
首页 >  
搜索关键字:materialized    ( 61个结果
The cast to value type 'System.Decimal' failed because the materialized value is null. Either the result type's generic parameter or the query must use a nullable type.
出现这种错误是因为没有获取到数据造成的,可以使用三元判断来操作,注意Sum里的Qty应该可以为空,如果为空则返回0,否则正式返回。 ...
分类:其他好文   时间:2018-11-16 13:31:25    阅读次数:223
Oracle查询库中已有存储过程、创建定时刷新视图、角色权限传递、创建序列触发器
SELECT * FROM V$ACCESS O WHERE O.TYPE LIKE 'PROCEDURE%' 创建物化视图且定时刷新create materialized view mv_name refresh force on demand start with sysdate next sy ...
分类:数据库   时间:2018-05-04 18:27:25    阅读次数:195
权限不足When Creating a Materialized View Log
MLOG
分类:其他好文   时间:2018-04-25 15:23:49    阅读次数:172
物化视图基于rowID快速刷新
--1创建logcreate MATERIALIZED VIEW LOG ON gh_qyghgx WITH rowid;create MATERIALIZED VIEW LOG ON gh_qyxx WITH rowid;--2创建物化视图create materialized view GH_Q ...
分类:其他好文   时间:2018-04-03 19:18:24    阅读次数:171
oracle远程物化视图
一、创建远程物化视图日志 源端: CREATE MATERIALIZED VIEW LOG ON tozwdb.test tablespace tozwdb_data WITH ROWID; 二、付权限 目标库 Create user tozwdb identified by tozwdb_dev; ...
分类:数据库   时间:2018-03-19 13:46:15    阅读次数:252
oracle 物化视图
create materialized view mv_cont_cust_contacts_v refresh force on demand start with sysdate next to_date( concat( to_char( sysdate+1,'dd-mm-yyyy'),' 2 ...
分类:数据库   时间:2017-12-11 18:38:32    阅读次数:158
ORACLE建立物化视图
--使用 on commit 的方式建立物化视图 create materialized view emp_dept refresh on commit as select t.*,d.dname from emp t , dept d where t.deptno = d.deptno; --使用... ...
分类:数据库   时间:2017-10-22 00:15:14    阅读次数:281
普通视图和物化视图的区别
物化视图是一种特殊的物理表,“物化”(Materialized)视图是相对普通视图而言的。 普通视图是虚拟表,应用的局限性大,任何对视图的查询,Oracle都实际上转换为视图SQL语句的查询。这样对整体查询性能的提高,并没有实质上的好处。 1、物化视图的类型: ON DEMAND、ON COMMIT ...
分类:其他好文   时间:2017-10-20 21:45:08    阅读次数:264
【oracle】物化视图
物化视图:具有物理存储的特殊视图,就像表对象一样。物化视图和表一样可以直接进行查询。通过读写分离机制起到分布式查询的作用,它是优化查询性能,提高系统工作效率的有效方法之一。 创建: 创建物化视图: 删除物化视图: 创建物化视图需要create materialized view权限: 查询重写:当对 ...
分类:数据库   时间:2017-09-22 12:04:13    阅读次数:138
SQL Access Advisor in Oracle Database 10g
The SQL Access Advisor makes suggestions about indexes and materialized views which might improve system performance. This article describes how to us ...
分类:数据库   时间:2017-09-21 13:17:57    阅读次数:164
61条   上一页 1 2 3 4 ... 7 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!