MIMIER's Updatable Views
转自:http://developer.mimer.com/documentation/html_92/Mimer_SQL_Engine_DocSet/Data_manipulation6.html
INSERT, UPDATE and DELETE statements may be used on views.
The operation is then performed on the base table upon which the view is defined. However, certain views may not be updated (for example a view containing DISTINCT values, where a single row in the view may represent several rows in
the base table).
A view is not updatable if any of the following conditions are true:
-
the keyword DISTINCT is used in the view definition
-
the select list contains components other than column specifications, or contains more than one specification of the same column
-
the FROM clause specifies more than one table reference or refers to a non-updatable view
-
the GROUP BY clause is used in the view definition
-
the HAVING clause is used in the view definition
Note: By defining an INSTEAD OF trigger any view can be made updatable. If all the INSTEAD OF triggers on the view are dropped, the view will revert to not updatable if one or more of the conditions are true.
SQL Standards Updatable Views
In order to be updatable according to the SQL standard, a view must:
-
Have only one table T in its top-level FROM clause
-
Not use SELECT DISTINCT in its top-level FROM clause
-
Include all attributes from T that do not permit NULLs
-
Not refer to T in subqueries
-
Not use GROUP BY or aggregation
分享到:
相关推荐
"updatable-0.4.0.tar.gz"是一个Python库的压缩包,版本号为0.4.0,它采用tar.gz格式进行打包,这是一种常见的源代码分发方式。 在Python世界里,库的安装通常通过`pip`这个包管理器来完成,但在这个情况下,由于...
可更新时序自动机(Updatable Timed Automata) 这是一种时序自动机的扩展模型,允许在状态转移过程中更新时钟值。这为建模更复杂的实时系统提供了灵活性,但同时也增加了分析的复杂性。 ### 主要研究发现 文章...
ALEX论文及源码及Github上download的下来的源码,给有需要的同学进行下载学习
语言:English,русский 最佳,新的和最庞大的.io游戏列表。 视频,评级! 1。 每天我们更新我们的列表。 我们知道数百场比赛! 我们不能说哪个游戏是最好的,但你可以。 因此,我们为每场比赛提供用户评分。...
最好的,新的和最庞大的.io游戏列表。视频,收视率! 1.我们每天都会更新清单。 而且我们知道数百种游戏! 2.我们不能说最好的游戏,但是可以。 因此,我们为每个游戏都有一个用户评分。...3.我们不仅提供屏幕截图,还...
经查发现是MySQL升级后将字段名给改了,password名称改为authentication_string了。... $sudo mysql.server stop #先关闭正常的MySQL服务 $sudo mysqld_safe --skip-grant-tables #跳过MySQL认证 ...
- **可更新实体化视图 (Updatable Materialized Views)** - 描述:支持用户对数据进行修改,并能将这些修改复制回主体站点。 - **可写实体化视图 (Writeable Materialized Views)** - 描述:允许用户修改数据,但...
* updatable_views_with_limit * unique_checks * windowing_use_high_precision 这些变量大多数与 SQL 查询相关,可以在查询语句中进行修改,以优化查询性能。但是,这些变量仅供参考,实际使用时需要根据具体情况...
- 可更新实体化视图(Updatable Materialized Views),允许远程站点对视图进行更新并将更新反向传播回主站点。 - 可写实体化视图(Writeable Materialized Views),允许更新但不支持反向传播。 #### 附录 - **多...
在使用 Annotation 配置时,我们可以使用 @Column(updatable=false) 注解来设置某些属性的更新权限。例如,我们可以设置 age 属性的更新权限为 false: ```java @Column(updatable=false) public int getAge() { ...
GF框架的资源管理系统非常强大,支持多种资源管理模式,如Package单机模式(不支持热更新)、Updatable模式(游戏启动前更新)和Updatable while playing模式(游戏中按需下载)。资源管理涉及多个配置文件,如...
01 J2EE Overview 02 Developing J2EE Components ...15 Creating Updatable Pages 16 Handling Application Events 17 Creating the Business Tier: Web Services 18 Deploying J2EE Applications 19 Troubleshooting
java语句如下private String url = "jdbc:odbc...stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_UPDATABLE);} catch (Exception e) {System.err.print("Error" + e.getMessage());}
`USER_VIEWS`、`USER_UPDATABLE_COLUMNS`和`USER_OBJECTS`等字典视图提供了关于视图结构、权限和可更新性等信息。此外,还可以通过`ALTER`语句添加或删除视图的约束,例如唯一约束,以确保数据的完整性和一致性。 ...
- **可更新实体化视图(Updatable Materialized Views)**:允许更新并将更新复制回主站点。 - **可写实体化视图(Writeable Materialized Views)**:允许更新但不会将更新回传。 #### 七、附录 除了上述章节外,...
Statement stmt = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE); // 执行SQL查询 String sql = "select * from test"; ResultSet rs = stmt.executeQuery(sql); ``` 在这...
Topics include: conditional formatting, user-customized reports, data entry forms, concurrency and lost updates, and updatable reports. Accompanying the book is a demo web application that ...
INTERNAL ERROR WHILE UPDATING COLUMN OF UPDATABLE JOIN VIEW ON EV AND TABLE/VIEW 12905058 REBOOT 2 CELL NODES, CHECKFILE FOUND CORRUPTION BLOCK IN 3 UNDO DATAFILES 12982566 ORA-06550: DBMS_DRS ...
"Symantec antivirus_S60_70s_updatable.sis" 文件是赛门铁克杀毒软件的安装包,适用于S60平台的手机,版本号可能是7.0s,其中的"updatable"表示该软件具备自动更新功能,能够及时获取最新的病毒定义库,增强对新...
Statement stmt = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE); String sql = "select * from TestTable"; ResultSet rs = stmt.executeQuery(sql); while (rs.next())...