
How to Create Queues with DBMS_AQADM
Create a queue table and a queue for your own message type, start it, and stop enqueuing or dequeuing separately.
PL/SQL (Procedural Language for SQL) is Oracle's proprietary extension to standard SQL. It combines the data manipulation power of SQL with the procedural capabilities of a programming language. PL/SQL allows developers to write complex database-centric applications by incorporating variables, conditions, loops, error handling, and modular programming constructs like procedures and functions. This language is tightly integrated with Oracle databases, enabling efficient data processing and transaction management.

Create a queue table and a queue for your own message type, start it, and stop enqueuing or dequeuing separately.

Maintain old code that uses DBMS_JOB, see how its jobs become Scheduler jobs, and map each call to DBMS_SCHEDULER.

Run load, check, and report steps as one Scheduler job, with rules that start the next step on success or failure.

Find the error of a failed Scheduler job in the run log, and stop a job that keeps failing with the MAX_FAILURES attribute.

Define what to run as a program with arguments and when as a named schedule, and combine them in jobs with argument values.

Describe when Scheduler jobs repeat with FREQ, INTERVAL, and BY clauses, and test the run dates before you schedule anything.

Schedule PL/SQL to run nightly with one call, run it on demand to test it, check its runs, and stop or drop jobs.

Store user names and passwords in the database under a name, so PL/SQL code and jobs never contain the password itself.

Install UTL_MAIL and send e-mail from PL/SQL in one call, with copies, a MIME type, and a text or binary attachment.

Connect to any host and port from PL/SQL, write and read text lines, and speak simple protocols such as HTTP by hand.

Trust HTTPS servers from PL/SQL with the operating system's certificate store or an Oracle wallet, set with SET_WALLET.

Send JSON to a REST API with a POST request from PL/SQL, read the result, and handle requests the server rejects.

Call web services with full control: request headers, status codes, response headers, bodies, authentication, and redirects.

Send a GET request and get the response body in one call, from SQL or PL/SQL, and read JSON results in the same query.

Find the IP address of a host name, or the name of an address, as the database server resolves them.

Allow a database user to reach specific hosts and ports for HTTP, connections, or name lookups, and fix ORA-24247.

Read a text file on the database server one line at a time, detect the end of the file, and split CSV lines into fields.

Turn spaces, accented letters, and reserved characters into % codes for URLs and query values, and decode them again.