Introduction to PL/SQL
PL/SQL (Procedural Language/Structured Query Language) is a powerful procedural extension to SQL developed by Oracle Corporation. It is used to write complex database applications, automate tasks, and enhance the capabilities…
Simply Explaining Technology
PL/SQL (Procedural Language/Structured Query Language) is a powerful procedural extension to SQL developed by Oracle Corporation. It is used to write complex database applications, automate tasks, and enhance the capabilities…
Oracle Database is a comprehensive and robust relational database management system (RDBMS) widely used for enterprise-level applications. This cheat sheet presents essential commands and queries to interact efficiently with Oracle…
The DECODE function in Oracle, available from version 9i and above, serves as a powerful and concise alternative to using IF-THEN-ELSE statements. It provides a way to conditionally transform or…
Installation These instructions are for Mac OS: First install homebrew. Never use sudo for brew. Install Python3. The installation comes with pip3. Install cx_Oracle, the library that allows python3 to…
Decode function has the same functionality as an IF-THEN-ELSE statement. It is present in Oracle 9i and above. It has the syntax For example, This is like saying the following…
A package is an encapsulated collection of related PL/SQL types, objects, procedures, and other program objects. Packages have a package specification and a package body. Package specification declares constants, variables,…
Changing case To change the first letter of the word to cap, use the inicap function. Use upper to covert to uppercase and lower to convert to lower case. Examples:…
Procedural Language extension of SQL (PL/SQL) combines SQL with procedural programming features such as looping, conditionals, and reusable blocks. PL/SQL engine processes PL/SQL statements. PL/SQL statements can reside on the…
The most commonly used set operators in Oracle are: union intersect minus Union Union combine results returned by two or queries into a single table. In a union, all tables…
NVL function NVL function can be used to substitute a value when null in encountered. It has the following syntax: If string has a value, it will be displayed. If…