The CUME_DIST function is a built-in analytical function in the Oracle database that calculates the cumulative distribution of a value within a group of values. This function is often used in statistical analysis and can be very useful in business intelligence applications. Syntax The syntax of the CUME_DIST function is as follows: CUME_DIST(expression) OVER (ORDER…(Continue Reading)
Author: Dev
PL/SQL ROW_NUMBER
In Oracle database, the ROW_NUMBER function is a powerful tool that allows you to generate a unique sequential number for each row in a query’s result set. This function is often used to rank the results of a query or to filter out specific rows from a large dataset. Syntax The syntax for the ROW_NUMBER…(Continue Reading)
PL/SQL PERCENT_RANK
The Oracle PL/SQL PERCENT_RANK function is part of Analytic functions, and is used to calculate the relative rank of a row within a result set. PERCENT_RANK function returns the rank of each row in a result set as a percentage of the total number of rows. The function takes two arguments: an expression and an…(Continue Reading)
PL/SQL System triggers
In Oracle database, a trigger is a stored program that automatically executes in response to certain events, such as insertions, updates, and deletions, on a specified table or view. A system trigger is a special type of trigger that is created on the system level and executed whenever certain database-wide events occur, rather than on…(Continue Reading)
PL/SQL DML triggers
PL/SQL DML triggers in Oracle database are used to automatically execute a set of actions or procedures when a data manipulation language (DML) operation is performed on a table. These triggers are used to enforce business rules and data integrity constraints, audit changes to data, and perform custom actions when data is changed. DML triggers…(Continue Reading)