博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Oracle Forms Execute_Query Example To Fetch The Records From Database
阅读量:4704 次
发布时间:2019-06-10

本文共 1281 字,大约阅读时间需要 4 分钟。

Execute_Query command is used to fetch all the records for current database data block in Oracle Forms, actually its executes query in current data block.

Syntax

EXECUTE_QUERY;
Clears the current block, opens a query, and fetches a number of selected records.
EXECUTE_QUERY (keyword_one VARCHAR2);
EXECUTE_QUERY(ALL_RECORDS) performs the same actions as EXECUTE_QUERY but Oracle Forms fetches all of the selected records.
EXECUTE_QUERY(keyword_two VARCHAR2);
EXECUTE_QUERY(ALL_RECORDS, FOR_UPDATE) performs the same actions as EXECUTE_QUERY but it lock all of the selected records immediately and fetches all of the selected records.
EXECUTE_QUERY(keyword_one VARCHAR2, keyword_two VARCHAR2);
EXECUTE_QUERY(keyword_one VARCHAR2, keyword_two VARCHAR2, locking VARCHAR2);
Can be set to NO_WAIT anytime that you use the FOR_UPDATE parameter. When you use NO_WAIT, Oracle Forms displays a dialog to notify the operator if a record cannot be reserved for update immediately. Without the NO_WAIT parameter, Oracle Forms keeps trying to obtain a lock without letting the operator cancel the process.

Example

 
Earlier I have given many example to perform query in Oracle Forms and below are the links that you can check for more details.

 

转载于:https://www.cnblogs.com/quanweiru/p/6218902.html

你可能感兴趣的文章
ES5初尝试Object.create
查看>>
NTP校时设置
查看>>
Perl 面对对象的案例理解
查看>>
两数组比较,筛选出不同元素(附数组去重)
查看>>
IOS学习之路十九(JSON与Arrays 或者 Dictionaries相互转换)
查看>>
多线程简单实例(2)生产者和消费者
查看>>
Git在合并时遇到unrelated history提示时无法merge
查看>>
全自动ARP实时绑定BAT文件
查看>>
如何将.class文件反编译为.java文件
查看>>
POJ 1154 LETTERS dfs
查看>>
poj 3009 Curling 2.0(dfs)
查看>>
新浪微博客户端(10)-切换多个fragment
查看>>
新浪微博客户端(12)-判断当前软件是否是新版本(是否显示新特性)
查看>>
线段树1——神奇的数据结构
查看>>
jquery的一些技巧总结
查看>>
使用SQLite方式存储数据
查看>>
一个强大的UI node 抽象
查看>>
MVC,MVP 和 MVVM 的图示
查看>>
openwrt opkg update wget returned 4 wget returned 1
查看>>
.net + Android 通信
查看>>