Caglar's Oracle Blog

Caglar's Oracle Blog

About SQL, PL/SQL and Oracle APEX

  • About Me

ORA-30926 unable to get a stable set of rows in the source tables

Posted on 23/11/202029/12/2021 by Caglar

In this post, I am going to talk about ORA-30926 error and how to solve it. Let’s create the following tables for our example. This error occurs due […]

More Details
Posted in SQL2 Comments on ORA-30926 unable to get a stable set of rows in the source tables

How to split comma separated string into rows

Posted on 26/05/202030/07/2024 by Caglar

In some cases, we may need to convert string data into rows. You can use the following methods to achieve this. 1. Regular Expressions One of the first […]

More Details
Posted in SQLLeave a Comment on How to split comma separated string into rows

Adaptive Cursor Sharing & Histograms

Posted on 24/05/202025/05/2020 by Caglar

Adaptive cursor sharing has been used in Oracle 11g first. This feature enables a single statement that contains bind variables to use multiple execution plans. According to the […]

More Details
Posted in DBA, SQL1 Comment on Adaptive Cursor Sharing & Histograms

Analytic functions & Windowing clause

Posted on 09/05/202012/06/2023 by Caglar

Analytic functions have been used from the early versions of Oracle. It is used in many tasks, especially reporting. In this article, I am going to use EMP […]

More Details
Posted in SQLLeave a Comment on Analytic functions & Windowing clause

Unlock Apex admin account

Posted on 18/02/202017/01/2021 by Caglar

You can find the lock accounts from the following query. So, in order to unlock the admin user. Login with SYS and execute the following PL/SQL block. You […]

More Details
Posted in APEX1 Comment on Unlock Apex admin account

SUBSTR vs DBMS_LOB.SUBSTR

Posted on 04/02/202025/07/2024 by Caglar

We have to choose the right built-in function when developing pl/sql applications. The following test case shows the performance outcome between SUBSTR and DBMS_LOB.SUBSTR functions. This test was […]

More Details
Posted in PL/SQL, SQLLeave a Comment on SUBSTR vs DBMS_LOB.SUBSTR

Print clob data with htp.prn

Posted on 04/02/202004/02/2020 by Caglar

As it is known, HTP.PRN procedure does not support clob data. None of the HTP.PRN procedures shown in below support CLOB data type as input. So, the following […]

More Details
Posted in APEX3 Comments on Print clob data with htp.prn

In-Doubt Transactions and ORA-02049 timeout distributed transaction waiting for lock

Posted on 29/01/202003/04/2021 by Caglar

Distributed transactions perform DML on multiple databases. If any issue occurs during this transaction such as network or system problems etc. The transaction becomes in-doubt. Normally, Oracle’s RECO […]

More Details
Posted in DBALeave a Comment on In-Doubt Transactions and ORA-02049 timeout distributed transaction waiting for lock

Pivot and Unpivot Operators in Oracle 11g

Posted on 27/12/201930/12/2019 by Caglar

PIVOT In this article you will learn how to use PIVOT and UNPIVOT operators. Basically, pivot operator allow you to transpose rows into columns. Prior to 11g, it […]

More Details
Posted in SQLLeave a Comment on Pivot and Unpivot Operators in Oracle 11g

ORA-22859 invalid modification of columns

Posted on 25/12/201925/12/2019 by Caglar

When you try to convert datatype CLOB to VARCHAR2, you get the ORA-22859 invalid modification of columns error even if the column is empty. In order to overcome […]

More Details
Posted in SQLLeave a Comment on ORA-22859 invalid modification of columns

Posts navigation

Older posts
Newer posts

Recent Posts

  • How to use LONG column in the WHERE clause
  • How to use XMLTABLE
  • How to implement wait spinner in APEX dynamic action
  • How to list all privileges of a user
  • How to create or alter a job

Recent Comments

  • Alexandre on How to implement wait spinner in APEX dynamic action
  • Maurits Groenenberg on How to view alert log file
  • Caglar on FOR UPDATE vs FOR UPDATE SKIP LOCKED
  • Anjali Damani on FOR UPDATE vs FOR UPDATE SKIP LOCKED
  • Caglar on How to implement wait spinner in APEX dynamic action

Categories

  • APEX
  • DBA
  • PL/SQL
  • SQL
  • Uncategorized
  • XQuery

Flag Counter

© Copyright 2025, Çağlar Polat