PIVOT and UNPIVOT in SELECT Statement

In reporting and analytics, we often need to rotate data — turning rows into columns or columns into rows.SQL provides two powerful operators for this purpose: PIVOT and UNPIVOT. Let’s explore them step by step with examples from the HR schema. Example 1: Pivoting Employee Count by Job and Department This query counts employees by […]

New Oracle 19c Data Guard Enhancements: What DBAs Should Know

In the journey toward resilient, high-availability database systems, Oracle continually evolves. With Oracle 19c, Data Guard gains a set of refined features that strengthen standby operations, simplify recovery, and improve manageability. In this post, we’ll explore the key new Data Guard features introduced in Oracle 19c and their operational impact. 1. Automatic Flashback of Standby […]

Oracle 19c | New Commands to Manage Initialization Parameters via Data Guard Broker

In Oracle 19c, enhancements in the Data Guard Broker enable DBAs to set, reset, and display database initialization parameters directly through the broker interface. These commands allow parameter changes to take effect immediately on the active database (or standby, or Far Sync) without first editing the broker configuration file. This article explains these new commands, […]