SQL Queries

Preventing Duplicate Form Submission in Oracle APEX

Introduction / Issue One of the common issues encountered while developing Oracle APEX applications is duplicate form submission. Users may unintentionally click the Save button multiple times due to slow network…

Read More

UI Mistakes Oracle APEX Developers Should Avoid

Introduction / Issue Many Oracle APEX applications successfully meet business requirements but often overlook one critical aspect—the User Interface (UI) and User Experience (UX). Developers tend to focus primarily on…

Read More

How to Unlock Locked SQL Server Logins

How to Unlock Locked SQL Server Logins  Introduction / Issue  During day-to-day SQL Server administration, users may report that they are unable to connect to the SQL Server instance even…

Read More

SQL Server Audit File Enabled for Both Failed and Successful Logins

SQL Server Audit File Enabled for Both Failed and Successful Logins  Introduction   During a routine SQL Server security review, it was observed that SQL Server Audit was configured to capture both FAILED_LOGIN_GROUP and SUCCESSFUL_LOGIN_GROUP events. While…

Read More

Forecast-Based Component Demand in Fusion SCP

Introduction/ Issue: Developing a custom BI Publisher (BIP) report in Oracle Fusion Supply Planning to provide visibility into component dependent demand based on the Finished Goods Forecast instead of the…

Read More

Building an Operational Metrics Dashboard for Banking Operations

Introduction  A mid-sized financial services organization needed to provide real-time visibility into critical operational metrics across 25 branches. The operations team was managing branch performance, transaction processing efficiency, and regulatory…

Read More

Assembly and Component Items Demand Shortage Report in Fusion SCP

Introduction/ Issue: Developing a BIP report in Fusion to identify component demand shortages for assembly items and improve supply planning decisions. Why we need to do / Cause of the…

Read More

The Oracle Migration Challenge – Datatype Conversion Nightmares

When Database Migrations Go Wrong: Snowflake to Oracle Every database migration project starts with optimism: “We’ve mapped the tables, the data looks similar – how hard can it be to…

Read More

From Slow to Lightning Fast: Optimizing SQL Bulk Operations with Python’s executemany()

The Problem: When Good Code Goes Slow  Picture this: You have a Python application that needs to insert thousands of records into a database. Your code works perfectly for small…

Read More

Oracle PLSQL to Generate XML Tag Using Standard Functionality

declare l_ctx dbms_xmlquery.ctxHandle; l_clob clob; begin l_ctx := dbms_xmlquery.newContext(‘select * from <TABLE_NAME>’); dbms_lob.createtemporary(:g_clob,true,dbms_lob.session); :g_clob := dbms_xmlquery.getXml(l_ctx); end;

Read More