Linn Linn Htun
Linn Linn Htun
AvatarLinn Linn Htun

Oracle Apex

September 3, 2023

Oracle Apex

Oracle APEX (Application Express) is a low-code web application development platform built directly into the Oracle database, enabling developers to create data-driven web applications with minimal coding. This post covers how to set up Oracle APEX, create your first application, build pages with SQL-driven reports and forms, and leverage APEX's built-in authentication and authorization features.

How to set up Oracle Apex?

Oracle Apex, which is a web-based application. It's really easy to set up. All we need to do is go to https://apex.oracle.com/en/ and then click on Get Started For Free button. After click button,  choose Free APEX workspace and click Free Sign Up button. And then fill in your personal details. After sign up for oracle apex you will receive an email that your workspace request is approved. Inside email, you can find Create Workspace button, and then click that one. After click the button, it will redirect to oracle apex sign in page. You can create a new password and then log in.

 

Oracle Apex Overview 

After login oracle apex, you can see the options. Choose SQL workshop and then click Object Browser. This allows you to browse all the objects stored in your workspace and you can see all the tables, views, indexed and other objects from this view. 

Then we have SQL Commands. This is where you can type your SQL commands and query from the database. This is set up just like the script editor for a typical database management system. 

SQL Scripts allows you to load SQL code saved on your local computer. 

The utility section has lots of useful features. We have the Data Workshop options in Utilities section. Data workshop which allows you to import and export data files. 

 

How to install Simple Datasets?

Click on SQL workshop dropdown, and then click Utilities tab, and click Sample Datasets.

Click install for Countries dataset > click on Create Application button > Will reach to Create an application page > Edit name as you want > Click Create Application button.

After Create application you able to find new tables and view in Object Browser section. 

 

Dual Table

Dual table is a special table in Oracle that contains a dummy column called Dummy. It is a table that is automatically created in the Oracle database. The dummy column contains one row with one value, which is X. The dual table has numerous use cases. One of them is performing simple calculations. If you wanted to perform any calculation after a select statement, then you have to reference a table. 

 

Explain Plans in Oracle

Explain plans in Oracle will display the execution plan chosen by the Oracle optimizer for all select, update, insert and delete statements. The execution plan is essentially the sequence of operations Oracle performs to run the statement. 

Frequently Asked Questions

What is Oracle APEX?

Oracle APEX (Application Express) is a low-code development platform included with the Oracle database that allows you to build secure, scalable web applications using a browser-based interface with SQL, PL/SQL, and JavaScript.

Is Oracle APEX free to use?

Oracle APEX is included at no additional cost with all Oracle Database editions, including the free Oracle Database XE; you can also use APEX for free on apex.oracle.com for development and testing purposes.