Oracle Forms execute_query Example to Fetch the Records from Database

Source: Internet
Author: User
Tags postgresql


Execute_query command is used-fetch all the records for current database data block in Oracle Forms, actually its EXECU TES query in the 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 is set to no_wait anytime this for_update parameter. When your use is no_wait, Oracle Forms displays a dialog to notify the operator if a record cannot is reserved for update imme Diately. Without the no_wait parameter, Oracle Forms keeps trying to obtain a lock without letting the operator cancel the process. Example
 
BEGIN
Go_Block(‘yourblock‘);
Execute_Query;
END;

Earlier I has given many example to perform query in Oracle Forms and below is the links that you can check for more Det Ails. Define Custom Query Criteria before performing query in Oracle formsif Value Exists then Query Else Create New Record Exam ple Oracle formssorting Data Block on Query in Oracle Forms




Oracle Forms execute_query Example to Fetch the Records from Database




Alibaba Cloud Hot Products

Elastic Compute Service (ECS) Dedicated Host (DDH) ApsaraDB RDS for MySQL (RDS) ApsaraDB for PolarDB(PolarDB) AnalyticDB for PostgreSQL (ADB for PG)
AnalyticDB for MySQL(ADB for MySQL) Data Transmission Service (DTS) Server Load Balancer (SLB) Global Accelerator (GA) Cloud Enterprise Network (CEN)
Object Storage Service (OSS) Content Delivery Network (CDN) Short Message Service (SMS) Container Service for Kubernetes (ACK) Data Lake Analytics (DLA)

ApsaraDB for Redis (Redis)

ApsaraDB for MongoDB (MongoDB) NAT Gateway VPN Gateway Cloud Firewall
Anti-DDoS Web Application Firewall (WAF) Log Service DataWorks MaxCompute
Elastic MapReduce (EMR) Elasticsearch

Alibaba Cloud Free Trail

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.