当前位置:网站首页>Gbase8s database for read only clause
Gbase8s database for read only clause
2022-06-29 12:18:00 【Like to eat radish ice cold】
FOR READ ONLY Clause
Please use FOR READ ONLY Keyword to specify as SELECT Statement Declares Select A cursor is a read-only cursor . only
A read cursor is a cursor that cannot modify data . This section provides information about FOR READ ONLY Clause :
When do you have to use FOR READ ONLY Clause
For the use of FOR READ ONLY Clause SELECT Syntactic restrictions on sentences
Use as read-only FOR READ ONLY Clause
Usually , You don't have to SELECT The statement includes FOR READ ONLY Clause . According to the definition ,SELECT It is a read-only operation
do , therefore FOR READ ONLY Clauses are usually unnecessary . However , In some circumstances , You must be in SELECT
The statement includes FOR READ ONLY keyword .
In conformity with ANSI In the database of , By default ,Select The cursor is update The cursor .update Cursors can be fixed
Change the cursor of data . these update Cursors are incompatible with the read-only mode of the database . for example , in the light of customer_ansi
This of the table SELECT Statement failure :
EXEC SQL declare ansi_curs cursor for
select * from customer_ansi;
The solution is in your Select The cursor includes FOR READ ONLY Clause . The read-only cursor specified in this clause is related to the database
Is compatible with read-only mode . for example , The following is for customer_ansi Tabular SELECT FOR READ ONLY Sentence into
work :
EXEC SQL declare ansi_read cursor for
select * from customer_ansi for read only;
DB-Access With Select The cursor executes all SELECT sentence , therefore , You must be read-only in all accesses that comply with ANSI
Data in the database specified in the query FOR READ ONLY.FOR READ ONLY Clause results in DB-Access take
SELECT The cursor of the statement is declared as a read-only cursor .
To get more information about 0 Level backup information , see also GBase 8s Backup and recovery guide . To get information about Select The cursor 、
Read only cursors and update Cursor information , see also DECLARE sentence .
And FOR READ ONLY Clause incompatible Syntax
If you try at the same SELECT The statement includes FOR READ ONLY Clause and FOR UPDATE Clause , Then
SELECT Statement failure . To get information about not including FOR READ ONLY Clause SELECT Statement Declares a read-only cursor
Information about , see also DECLARE sentence .
边栏推荐
- 妙!妙盈科技全面实施 Zadig 助力容器化建设,全面拥抱 Kubernetes 和云原生
- LM07丨细聊期货横截面策略
- 杰理之关于 TWS 配对方式配置【篇】
- Is it safe for Hengtai securities to open an account? Ranking of securities
- GBase8s数据库与 FOR UPDATE 子句不兼容的语法
- Titanium dynamic technology: our Zadig landing Road
- 当技术人成长为 CEO,应该修改哪些“Bug”?
- [VTK] MFC grid editor based on vtk8.2
- Jerry's about TWS pairing mode configuration [chapter]
- GBase8s数据库select有ORDER BY 子句4
猜你喜欢

妙!妙盈科技全面实施 Zadig 助力容器化建设,全面拥抱 Kubernetes 和云原生

谷粒商城项目

Wang Yingqi, founder of ones, talks to fortune (Chinese version): is there any excellent software in China?

杰理之关于 TWS 声道配置【篇】

Numpy的ndarray数组基础

Embedded database development programming (IV) -- DDL, DML
![[pbootcms template] composition website / document download website source code](/img/6e/51bbb4ce961defa4abd098ff3af21f.jpg)
[pbootcms template] composition website / document download website source code

Ttchat x Zadig open source co creates helm access scenarios, and environmental governance can be done!

龙书虎书鲸书啃不动?试试豆瓣评分9.5的猴书

When you are young, you should be awake to fight, and when you are young, you should have the courage to try
随机推荐
MySQL 主从复制原理以及流程
GBase8s数据库select有ORDER BY 子句3
力扣每日一题-第31天-1779.找到最近的有相同x或y坐标的点
《高难度谈话》突破谈话瓶颈,实现完美沟通
How to obtain method parameter values through WinDbg
Wang Yingqi, founder of ones, talks to fortune (Chinese version): is there any excellent software in China?
RSLO:自监督激光雷达里程计(实时+高精度,ICRA2022)
杰理之关于 TWS 交叉配对的配置【篇】
助力极致体验,火山引擎边缘计算最佳实践
如何查看网站已经保存的密码
2022 construction worker civil engineering direction general foundation (construction worker) theoretical question bank simulation test platform operation
Weekly recommended short video: How did Einstein think?
Win11 web version
当技术人成长为 CEO,应该修改哪些“Bug”?
论文复现——AC-FPN:Attention-guided Context Feature Pyramid Network for Object Detection.
保障饮用水安全!番禺沙湾水道水质在线监测系统通过验收
GBase8s数据库FOR UPDATE 子句
Sofaregistry source code | data synchronization module analysis
GBase8s数据库select有ORDER BY 子句1
Installation and configuration of MariaDB